Commit 85d1295e authored by Steven Allen's avatar Steven Allen
Browse files

nixos/run0: add a shebang to the run0 sudo-alias script

parent 3f187999
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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