diff --git a/duplicity-backup.sh b/duplicity-backup.sh index 2e2d68c..1b4a1d5 100755 --- a/duplicity-backup.sh +++ b/duplicity-backup.sh @@ -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