Skip to content

Commit 0242d91

Browse files
authored
nixos/systemd-boot: set strict error handling in installer script (#501155)
2 parents 92a1af2 + b62dba1 commit 0242d91

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ let
102102

103103
finalSystemdBootBuilder = pkgs.writeScript "install-systemd-boot.sh" ''
104104
#!${pkgs.runtimeShell}
105+
set -euo pipefail
105106
${systemdBootBuilder}/bin/systemd-boot "$@"
106107
${cfg.extraInstallCommands}
107108
'';

0 commit comments

Comments
 (0)