Fixing typo in snapshot file list.
[live-boot-grml.git] / scripts / live-helpers
index 79b158c..fbf61fe 100644 (file)
@@ -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
 }