aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-21 02:29:47 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-21 02:29:47 +0000
commit5315ac419856c0faf68143dd5821b6292f04913e (patch)
treedb7d4a81aea33223e9947de2b8b3f817fc860a17 /package
parentde9604fc41b9eecae5b0233a525c722bf54b2805 (diff)
downloadupstream-5315ac419856c0faf68143dd5821b6292f04913e.tar.gz
upstream-5315ac419856c0faf68143dd5821b6292f04913e.tar.bz2
upstream-5315ac419856c0faf68143dd5821b6292f04913e.zip
[package] block-mount: add missing chunk of previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31050 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/block-mount/files/block.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/block-mount/files/block.sh b/package/block-mount/files/block.sh
index 80f74b210b..ac8ca3bfb1 100644
--- a/package/block-mount/files/block.sh
+++ b/package/block-mount/files/block.sh
@@ -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"
}