projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29cc4ad
)
Fixing possible invalid results from function where_is_mounted by returning more...
author
Luigi Capriotti
<l.capriotti@xbmc.org>
Fri, 19 Jun 2009 13:07:40 +0000
(15:07 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Fri, 19 Jun 2009 13:07:40 +0000
(15:07 +0200)
scripts/live-helpers
patch
|
blob
|
history
diff --git
a/scripts/live-helpers
b/scripts/live-helpers
index
79b158c
..
fbf61fe
100644
(file)
--- a/
scripts/live-helpers
+++ b/
scripts/live-helpers
@@
-104,7
+104,7
@@
where_is_mounted ()
if grep -q "^${device} " /proc/mounts
then
# return the first found
- grep "^${device} " /proc/mounts | cut -f2 -d ' '
+ grep
-m1
"^${device} " /proc/mounts | cut -f2 -d ' '
fi
}