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
|
#!$out/bin/sh -e
|
||||||
if [ -e /.luksopen_args ]; then
|
if [ -e /.luksopen_args ]; then
|
||||||
cryptsetup \$(cat /.luksopen_args)
|
cryptsetup \$(cat /.luksopen_args)
|
||||||
killall cryptsetup
|
killall -q cryptsetup
|
||||||
else
|
else
|
||||||
echo "Passphrase is not requested now"
|
echo "Passphrase is not requested now"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue