summary refs log tree commit diff
diff options
context:
space:
mode:
authorTristan <tristankohl@web.de>2021-08-06 06:44:50 +0000
committerDuncan Overbruck <github@duncano.de>2021-08-14 16:47:44 +0200
commit5b18be19e3faa8eb396c0608906fbf0d755a4491 (patch)
tree37836415d7ae54fa3ca67d80747b01144bc6d884
parent42ca737148ea530dad5945af1a4eb7e471e8b637 (diff)
downloadrunit-void-5b18be19e3faa8eb396c0608906fbf0d755a4491.tar.gz
runit-void-5b18be19e3faa8eb396c0608906fbf0d755a4491.tar.xz
runit-void-5b18be19e3faa8eb396c0608906fbf0d755a4491.zip
Fix missing dash
Fixes #77
-rw-r--r--crypt.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt.awk b/crypt.awk
index c0c2f9e..c84761d 100644
--- a/crypt.awk
+++ b/crypt.awk
@@ -52,7 +52,7 @@ NF>4 { print "a valid crypttab has max 4 cols not " NF >"/dev/stderr"; next }
             else if ( par == "keyscript" ) {use_keyscript="y"; keyscript=val;}
             else if ( par == "keyslot" || par == "key-slot" ) luksopts=luksopts "-S " val " ";
             else if ( par == "keyfile-size" ) luksopts=luksopts "-l " val " ";
-            else if ( par == "keyfile-offset" ) luksopts=luksopts "-keyfile-offset=" val " ";
+            else if ( par == "keyfile-offset" ) luksopts=luksopts "--keyfile-offset=" val " ";
             else if ( par == "header" ) luksopts=luksopts "--header=" val " ";
             else {
                 print "option: " par " not supported " >"/dev/stderr";