nixos/luks: Silence killall complain about non-existing cryptsetup processes

This commit is contained in:
Rickard Nilsson 2017-05-10 13:31:02 +02:00
parent 643f7343ba
commit a92bdc54e3

View File

@ -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