Skip to content
Snippets Groups Projects

transfer.sh: fix touch of last_backup

Merged Hahn Axel (hahn) requested to merge fix-touchfile into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -37,6 +37,7 @@
# 2022-10-21 ah v2.7 shell fixes;
# 2022-11-04 ah v2.8 rename hooks
# 2022-11-07 ah v2.9 run brefore-transfer hook after registration
# 2023-02-22 ah v2.10 fix touch of last_backup
# ================================================================================
@@ -416,8 +417,6 @@ function setAction(){
t_backupDirDoPostTasks
echo
touch ${lastbackupfile}
else
color warning
echo "DIR SKIP $mydir ... does not exist (no error)"
@@ -425,6 +424,7 @@ function setAction(){
fi
echo
done
test $rc -eq 0 && touch "${lastbackupfile}
else
echo "SKIP backup of dirs"
fi
Loading