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.
This commit is contained in:
parent
39785f0e0f
commit
0083c60544
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue