[package] block-mount: add missing chunk of previous commit
[openwrt.git] / package / block-mount / files / block.sh
index 80f74b2..ac8ca3b 100644 (file)
@@ -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"
 }
 
This page took 0.031899 seconds and 4 git commands to generate.