projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88866c9
)
block-mount: add missing chunk of previous commit
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 21 Mar 2012 02:29:47 +0000
(
02:29
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 21 Mar 2012 02:29:47 +0000
(
02:29
+0000)
SVN-Revision: 31050
package/block-mount/files/block.sh
patch
|
blob
|
history
diff --git
a/package/block-mount/files/block.sh
b/package/block-mount/files/block.sh
index 80f74b210b2f0d271340dd188ba7f074e28cc126..ac8ca3bfb1dfa52ef2081e67415d0088358ccd11 100644
(file)
--- 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"
}