mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/luks: Silence killall complain about non-existing cryptsetup processes
This commit is contained in:
parent
643f7343ba
commit
a92bdc54e3
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ in
|
|||
#!$out/bin/sh -e
|
||||
if [ -e /.luksopen_args ]; then
|
||||
cryptsetup \$(cat /.luksopen_args)
|
||||
killall cryptsetup
|
||||
killall -q cryptsetup
|
||||
else
|
||||
echo "Passphrase is not requested now"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue