diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-03-21 02:29:47 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-03-21 02:29:47 +0000 |
commit | 2419c1370ac299eacc080ee21af105fb5146f427 (patch) | |
tree | b6f5aa10fd4be280527d5d3543decde332e9bf2a /package/block-mount | |
parent | 88866c94842a78ada3bbf809131b431a85bab0e9 (diff) | |
download | mtk-20170518-2419c1370ac299eacc080ee21af105fb5146f427.zip mtk-20170518-2419c1370ac299eacc080ee21af105fb5146f427.tar.gz mtk-20170518-2419c1370ac299eacc080ee21af105fb5146f427.tar.bz2 |
block-mount: add missing chunk of previous commit
SVN-Revision: 31050
Diffstat (limited to 'package/block-mount')
-rw-r--r-- | package/block-mount/files/block.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/block-mount/files/block.sh b/package/block-mount/files/block.sh index 80f74b2..ac8ca3b 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" } |