mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
luks: drop unnecessary subshell
This commit is contained in:
1 parent
06fb9283ca
commit
6bb82b77ce
1 file changed
+1
-1
+1
-1
@@ -130,7 +130,7 @@ in
|
||||
_create = diskoLib.mkCreateOption {
|
||||
inherit config options;
|
||||
default = ''
|
||||
if ! blkid "${config.device}" >/dev/null || ! (cryptsetup isLuks "${config.device}"); then
|
||||
if ! blkid "${config.device}" >/dev/null || ! cryptsetup isLuks "${config.device}"; then
|
||||
${lib.optionalString config.askPassword ''
|
||||
promptSecret() {
|
||||
prompt=$1
|
||||
|
||||
Reference in new issue
Block a user