Explorar el Código

[Fix] cleanup temporary file after running v-list-sys-services

Robert Zollner hace 5 años
padre
commit
1495b323ed
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      bin/v-list-sys-services

+ 3 - 0
bin/v-list-sys-services

@@ -297,6 +297,9 @@ case $format in
     shell)  shell_list |column -t ;;
 esac
 
+if [ -f "$tmp_file" ]; then
+    rm -f "$tmp_file"
+fi
 
 #----------------------------------------------------------#
 #                       Hestia                             #