diff options
-rw-r--r-- | crypt.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt.awk b/crypt.awk index e333504..56ee2a3 100644 --- a/crypt.awk +++ b/crypt.awk @@ -59,7 +59,7 @@ NF>4 { print "a valid crypttab has max 4 cols not " NF >"/dev/stderr"; next } } } if ( makeswap == "y" && use_luks != "y" ) { - ccmd="cryptsetup " cmd " -d " key " create " src " " dest1; + ccmd="cryptsetup " cmd " -d " key " create " dest " " src; ccmd_2="mkswap /dev/mapper/" dest; cmd=""; makeswap=""; |