diff options
author | Enno Boland <g@s01.de> | 2016-10-21 14:14:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-21 14:14:08 +0200 |
commit | 1f54a8b4ce7e36bd914cf86626cde1d40d1c0c37 (patch) | |
tree | ba7d398caea868528ccefe21b375c3c509d2617c | |
parent | 24df16b0f709f5217405e603e2c304c54592a632 (diff) | |
parent | 7ff7f2ab912598206e6f7802a0430a00017221a4 (diff) | |
download | runit-void-1f54a8b4ce7e36bd914cf86626cde1d40d1c0c37.tar.gz runit-void-1f54a8b4ce7e36bd914cf86626cde1d40d1c0c37.tar.xz runit-void-1f54a8b4ce7e36bd914cf86626cde1d40d1c0c37.zip |
Merge pull request #57 from suiginsoft/master
Make crypt.awk work with other awk(1) variants.
-rw-r--r-- | crypt.awk | 2 |
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 |