about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypt.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt.awk b/crypt.awk
index d533ab8..2d2c965 100644
--- a/crypt.awk
+++ b/crypt.awk
@@ -3,7 +3,7 @@ NF>4 { print "a valid crypttab has max 4 cols not " NF >"/dev/stderr"; next }
 {
     # decode the src variants
     split($2, o_src, "=")
-    if (o_src[1] == "UUID") "blkid -t " $2 " -l -o device" |& getline src;
+    if (o_src[1] == "UUID") ("blkid -l -o device -t " $2) | getline src;
     else src=o_src[1];
 
     # no password or none is given, ask fo it