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
Branches
No related tags found
1 merge request!92transfer.sh: fix touch of last_backup
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment