File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55**/.cache/
66**/.wine/
77**/.zoom/
8- **/*.log
8+ **/*.log
9+ **/Games/
10+ **/.steam/
11+ **/.local/share/Steam/
12+ **/.local/share/Trash/
Original file line number Diff line number Diff line change @@ -13,22 +13,22 @@ keep_alive_sudo() {
1313 done
1414 } 2> /dev/null &
1515 keep_alive=$!
16- echo " sudo keep-alive started"
16+ echo " keep-alive (sudo) started"
1717 return 0
1818 else
19- echo " sudo authentication failed"
19+ echo " authentication failed; abort "
2020 return 1
2121 fi
2222}
2323
2424# keep alive sudo permission
25- keep_alive_sudo
25+ keep_alive_sudo || exit 1
2626
2727# execute installation & recovery
2828source " $ROOT_DIR /inst.sh" # setup package requirements
2929source " $ROOT_DIR /borgserver.sh" # borg backup & rsync as recovery method
3030
3131# undo keep alive sudo permission
3232if [[ -n " $keep_alive " ]] && kill -0 " $keep_alive " 2> /dev/null; then
33- kill " $keep_alive "
33+ kill " $keep_alive " && echo " removed keep-alive (sudo) process "
3434fi
You can’t perform that action at this time.
0 commit comments