nixos/run0: add a shebang to the run0 sudo-alias script (#483795)

This commit is contained in:
Jacek Galowicz
2026-01-27 14:07:32 +00:00
committed by GitHub
+1 -1
View File
@@ -8,7 +8,7 @@
let
cfg = config.security.run0;
sudoAlias = pkgs.writeScriptBin "sudo" ''
sudoAlias = pkgs.writeShellScriptBin "sudo" ''
if [[ "$1" == -* ]]; then
echo "This script is a sudo-alias to systemd's run0 and does not support any sudo parameters."
exit 1