Skip to content

Commit

Permalink
F_BACKUP: fix when target directory contain spec. chars (e.g. space)
Browse files Browse the repository at this point in the history
  • Loading branch information
steadfasterX committed Aug 10, 2018
1 parent 8294a89 commit 5486e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt.func
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ F_BACKUP(){ F_LOG "$FUNCNAME: started with these arguments: $@"
BRET=$?
[ $BRET -ne 0 ] && F_EXIT "$FUNCNAME Aborted on users request" $BRET

$PYTHONBIN ${LAFPATH}/extract-partitions.py ${CROPT} --batch --outdir $BTDIR --max-size $BMAX 2>&1 | tee -a $LOG | $FYAD --title="$YTITLE - $BAKTNAME BACKUP" --text="\n <b>SALT is backing up your device...</b>\n\n" --width 900 --progress --button='Close (WAIT until you see All finished)':0
$PYTHONBIN ${LAFPATH}/extract-partitions.py ${CROPT} --batch --outdir "$BTDIR" --max-size $BMAX 2>&1 | tee -a $LOG | $FYAD --title="$YTITLE - $BAKTNAME BACKUP" --text="\n <b>SALT is backing up your device...</b>\n\n" --width 900 --progress --button='Close (WAIT until you see All finished)':0
BERR=${PIPESTATUS[0]}
if [ "$BERR" -ne 0 ];then
F_MSGE 500 "Backup incomplete! Check the log."
Expand Down

0 comments on commit 5486e57

Please sign in to comment.