mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
nixos/luks: Silence killall complain about non-existing cryptsetup processes
This commit is contained in:
parent
643f7343ba
commit
a92bdc54e3
@ -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…
Reference in New Issue
Block a user