mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:04:38 +02:00
[package] block-mount: add missing chunk of previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31050 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f41a38927e
commit
b83d565146
@ -157,7 +157,7 @@ libmount_find_token() {
|
||||
local token="$1"
|
||||
local value="$2"
|
||||
local device
|
||||
device="$(blkid | grep "$token=\"$value\"" | cut -f1 -d:)"
|
||||
device="$(blkid -w /dev/null -c /dev/null | grep "$token=\"$value\"" | cut -f1 -d:)"
|
||||
echo "$device"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user