Skip to content

Commit 1830b34

Browse files
MarcelCodingastro
authored andcommitted
microvm-run: make bash strict
1 parent 1965077 commit 1830b34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/runner.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ let
2424
''-a "microvm@${microvmConfig.hostName}"'';
2525

2626
runScriptBin = pkgs.writeShellScriptBin "microvm-run" ''
27+
set -eou pipefail
2728
${preStart}
2829
${createVolumesScript pkgs.buildPackages microvmConfig.volumes}
2930
${lib.optionalString (hypervisorConfig.requiresMacvtapAsFds or false) openMacvtapFds}

0 commit comments

Comments
 (0)