Browse Source

Fix uninstall

bryan 3 years ago
parent
commit
3dfbf13ae1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      installJRMC

+ 1 - 2
installJRMC

@@ -1415,8 +1415,7 @@ uninstall() {
             fi
         done
         for f in "$_service_fname" "$_timer_fname"; do
-            debug "Removing $f"
-            rm_cmd "$f"
+            [[ -f "$f" ]] && debug "Removing $f" && rm_cmd "$f"
         done
         systemctl_reload
     done