Skip to content

Commit

Permalink
nixos/luks: Silence killall complain about non-existing cryptsetup pr…
Browse files Browse the repository at this point in the history
…ocesses

(cherry picked from commit a92bdc5)
  • Loading branch information
rickynils committed May 16, 2017
1 parent c9700e6 commit f2c4af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/luksroot.nix
Expand Up @@ -425,7 +425,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
Expand Down

1 comment on commit f2c4af4

@domenkozar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.