use getExe everywhere
This commit is contained in:
parent
876a4f09b8
commit
a090dbe73e
7 changed files with 12 additions and 12 deletions
|
|
@ -30,7 +30,7 @@
|
|||
PIDFILE="/run/ssh-inhibitor-''${PPID}.pid"
|
||||
case "''${PAM_TYPE:-}" in
|
||||
open_session)
|
||||
${pkgs.systemd}/bin/systemd-inhibit \
|
||||
${lib.getExe' pkgs.systemd "systemd-inhibit"} \
|
||||
--what=sleep \
|
||||
--who=sshd \
|
||||
--why="SSH session active" \
|
||||
|
|
|
|||
Loading…
Reference in a new issue