mirror of https://github.com/hak5/openwrt.git
parent
88866c9484
commit
2419c1370a
|
@ -157,7 +157,7 @@ libmount_find_token() {
|
||||||
local token="$1"
|
local token="$1"
|
||||||
local value="$2"
|
local value="$2"
|
||||||
local device
|
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"
|
echo "$device"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue