Skip to content
Snippets Groups Projects
Commit 04e61057 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

transfer.sh: fix touch of last_backup

parent fab75a92
No related branches found
No related tags found
1 merge request!92transfer.sh: fix touch of last_backup
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
# 2022-10-21 ah v2.7 shell fixes; # 2022-10-21 ah v2.7 shell fixes;
# 2022-11-04 ah v2.8 rename hooks # 2022-11-04 ah v2.8 rename hooks
# 2022-11-07 ah v2.9 run brefore-transfer hook after registration # 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(){ ...@@ -416,8 +417,6 @@ function setAction(){
t_backupDirDoPostTasks t_backupDirDoPostTasks
echo echo
touch ${lastbackupfile}
else else
color warning color warning
echo "DIR SKIP $mydir ... does not exist (no error)" echo "DIR SKIP $mydir ... does not exist (no error)"
...@@ -425,6 +424,7 @@ function setAction(){ ...@@ -425,6 +424,7 @@ function setAction(){
fi fi
echo echo
done done
test $rc -eq 0 && touch "${lastbackupfile}
else else
echo "SKIP backup of dirs" echo "SKIP backup of dirs"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment