Avoid calling rm without -f in initial work on a custom mounts system to ensure non...
authorDaniel Baumann <daniel@debian.org>
Sun, 1 Apr 2012 19:57:19 +0000 (21:57 +0200)
committerDaniel Baumann <daniel@debian.org>
Sun, 1 Apr 2012 19:59:35 +0000 (21:59 +0200)
scripts/live

index 4c0597a..bd4ee2a 100755 (executable)
@@ -1725,7 +1725,7 @@ setup_unionfs ()
                                mount -t "${UNIONTYPE}" -o "${unionmountopts}" "${UNIONTYPE}" "${dest}"
                        fi
                done < ${bindings}
-               rm ${bindings}
+               rm -f ${bindings}
 
                # Look for other snapshots to copy in
                try_snap "${root_snapdata}" "${rootmnt}" "ROOT"