Merge pull request #91 from wietsefranssen/fix/zsh

fixed check for previous backups in zsh
This commit is contained in:
Laurent Cozic
2017-09-23 19:07:46 +01:00
committed by GitHub
+1 -1
View File
@@ -60,7 +60,7 @@ fn_parse_date() {
}
fn_find_backups() {
fn_run_cmd "find "$DEST_FOLDER" -maxdepth 1 -type d -name "????-??-??-??????" -prune | sort -r"
fn_run_cmd "find "$DEST_FOLDER" -maxdepth 1 -type d -name \"????-??-??-??????\" -prune | sort -r"
}
fn_expire_backup() {