[package] block-mount: add missing chunk of previous commit
[openwrt/svn-archive/archive.git] / package / block-mount / files / block.sh
index 80f74b210b2f0d271340dd188ba7f074e28cc126..ac8ca3bfb1dfa52ef2081e67415d0088358ccd11 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"
 }