From 0083c60544e0e3ee4029aee48ff40be2057e6f3e Mon Sep 17 00:00:00 2001 From: 3DPrintingGeek <84936569+3DPrintingGeek@users.noreply.github.com> Date: Thu, 11 Apr 2024 10:19:45 +0200 Subject: [PATCH] fixes process not killed on remove When removing git-backup using the installer, there are still some processes left running in the background. To ensure a clean removal, and prevent problems on reinstallation, these processes should be killed on removal. --- scripts/git_backup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/git_backup.sh b/scripts/git_backup.sh index cac28ca..5627133 100755 --- a/scripts/git_backup.sh +++ b/scripts/git_backup.sh @@ -60,6 +60,8 @@ function remove_git_backup(){ case "${yn}" in Y|y) echo -e "${white}" + echo -e "Info: Stopping processes..." + pkill git-backup.sh echo -e "Info: Removing files..." rm -f "$HS_CONFIG_FOLDER"/git-backup.cfg rm -f "INITD_FOLDER"/S52Git-Backup