[SCM] Debian Live initramfs hook branch, master, updated. 1.157.2-1-16-g2a5d1e5
Daniel Baumann
daniel at debian.org
Fri Jun 19 13:20:34 UTC 2009
The following commit has been merged in the master branch:
commit 6b0c40b9c369204fef5b93ca93b915d703b47e7e
Author: Luigi Capriotti <l.capriotti at xbmc.org>
Date: Fri Jun 19 15:07:40 2009 +0200
Fixing possible invalid results from function where_is_mounted by returning more than one line inwhere_is_mounted();.
diff --git a/scripts/live-helpers b/scripts/live-helpers
index 79b158c..fbf61fe 100644
--- 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
}
--
Debian Live initramfs hook
More information about the debian-live-changes
mailing list