diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-04-01 22:04:06 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-04-01 22:04:52 +0200 |
| commit | a844e2f2b5c126e6f3e54a65e69b8673553afdf3 (patch) | |
| tree | 246f1862fad733b147bbab99cdbd8b8e68e9b119 /scripts | |
| parent | 8146bc4e2485566655d443f5b0d3b86df4e869b9 (diff) | |
| download | live-boot-a844e2f2b5c126e6f3e54a65e69b8673553afdf3.tar.gz live-boot-a844e2f2b5c126e6f3e54a65e69b8673553afdf3.zip | |
Calling rm without -f when removing some temporary custom mount related files to ensure non-interactivity.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live index ac2845c..077ad52 100755 --- a/scripts/live +++ b/scripts/live @@ -1695,12 +1695,12 @@ setup_unionfs () # that we won't hide a previous mount. We also ignore # duplicate destinations in a more or less arbitrary way. [ -e "${bindings}" ] && sort -k2 -sbu ${bindings} >> ${custom_mounts} - rm ${bindings} + rm -f ${bindings} # After all mounts are considered we add symlinks so they # won't be hidden by some mount. [ -e "${links}" ] && sort -k2 -sbu ${links} >> ${custom_mounts} - rm ${links} + rm -f ${links} [ "${DEBUG}" = "Yes" ] && cp ${custom_mounts} ${persistent_backing} |
