about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpulux <pulux@pf4sh.de>2015-01-09 18:21:09 +0100
committerpulux <pulux@pf4sh.de>2015-01-09 18:21:09 +0100
commit56e66d8c3cee0f41ac851c1e02bebbe34b4e84ef (patch)
tree1fc04929d05515a727addb6187cccd97066a20cb
parent644afccb4778474c4688de7aff75008a838b3ffb (diff)
downloadrunit-void-56e66d8c3cee0f41ac851c1e02bebbe34b4e84ef.tar.gz
runit-void-56e66d8c3cee0f41ac851c1e02bebbe34b4e84ef.tar.xz
runit-void-56e66d8c3cee0f41ac851c1e02bebbe34b4e84ef.zip
fix typo and arg position
-rw-r--r--crypt.awk2
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="";