Merge remote-tracking branch 'origin/dev' into rework-logging

This commit is contained in:
zertrin 2016-09-08 20:57:11 +02:00
commit fb54765c53

View file

@ -483,6 +483,8 @@ email_logfile()
mailcmd_bsd_mailx;;
heirloom-mailx)
mailcmd_heirloom_mailx;;
s-nail)
mailcmd_nail;;
*)
mailcmd_else;;
esac
@ -542,6 +544,8 @@ get_source_file_size()
{
echo "-----------[ Source Disk Use Information ]-----------"
# FIXME: doesn't work properly with include/exclude-filelists (issue #101)
# Patches to support spaces in paths-
# Remove space as a field separator temporarily
OLDIFS=$IFS
@ -560,6 +564,9 @@ get_source_file_size()
;;
esac
# always exclude /proc
DUEXCLIST="/proc\n"
for exclude in "${EXCLIST[@]}"; do
DUEXCLIST="${DUEXCLIST}${exclude}\n"
done