Small bugfixes in groomer scripts

pull/58/head
Dan Puttick 2017-08-10 17:44:11 -04:00
parent c6e5caa2bd
commit a8a57e1ef0
3 changed files with 5 additions and 3 deletions

View File

@ -69,7 +69,9 @@ run_groomer() {
# echo "==== Done with /media/${SRC} to ${target_dir}. ====" >> "${logfile}"
# List destination files (recursively) for debugging
# ls -lR "${target_dir}"
if [ "${DEBUG}" = true ]; then
ls -lR "${target_dir}"
fi
else
# Previous command (mounting current partition) failed
echo "GROOMER: Unable to mount ${partition} on /media/${SRC}"