mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
types.luks: fix password check
This commit is contained in:
1 parent
f64ab1525b
commit
4073ff2f48
1 file changed
+3
-1
+3
-1
@@ -147,7 +147,9 @@ in
|
||||
promptSecret "Enter password for ${config.device}: " password
|
||||
promptSecret "Enter password for ${config.device} again to be safe: " password_check
|
||||
export password
|
||||
[ "$password" = "$password_check" ]
|
||||
if [ "$password" != "$password_check" ]; then
|
||||
exit 1
|
||||
fi
|
||||
set -x
|
||||
else
|
||||
export password=disko
|
||||
|
||||
Reference in new issue
Block a user