From b83d56514635084c06e659bdce2384ae48461eec Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 21 Mar 2012 02:29:47 +0000 Subject: [package] block-mount: add missing chunk of previous commit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31050 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/block-mount/files/block.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/block-mount') 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" } -- cgit v1.2.3