diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-06-02 08:47:55 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-06-02 08:47:55 +0200 |
commit | 2ad587771ec0ed3bd2c0c01efeee96af830064ca (patch) | |
tree | 045cb253b337b6d9ef8e438b5c67b075369a8ff7 | |
parent | 341f0470cfcae91e180e0c7ddf0101ca2c92253c (diff) | |
download | runit-void-20150602.tar.gz runit-void-20150602.tar.xz runit-void-20150602.zip |
crypt.awk: do not hardcode path to blkid. 20150602
-rw-r--r-- | crypt.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypt.awk b/crypt.awk index b2cefdc..a211371 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") "/sbin/blkid -t " $2 " -l -o device" |& getline src; + if (o_src[1] == "UUID") "blkid -t " $2 " -l -o device" |& getline src; else src=o_src[1]; # no password or none is given, ask fo it |