Changeset 31050 for trunk


Ignore:
Timestamp:
2012-03-21T03:29:47+01:00 (4 years ago)
Author:
jow
Message:

[package] block-mount: add missing chunk of previous commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/block-mount/files/block.sh

    r27226 r31050  
    158158        local value="$2" 
    159159        local device 
    160         device="$(blkid | grep "$token=\"$value\"" | cut -f1 -d:)" 
     160        device="$(blkid -w /dev/null -c /dev/null | grep "$token=\"$value\"" | cut -f1 -d:)" 
    161161        echo "$device" 
    162162} 
Note: See TracChangeset for help on using the changeset viewer.