Skip to content

Commit 1495b32

Browse files
committed
[Fix] cleanup temporary file after running v-list-sys-services
1 parent 18d0254 commit 1495b32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/v-list-sys-services

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@ case $format in
297297
shell) shell_list |column -t ;;
298298
esac
299299

300+
if [ -f "$tmp_file" ]; then
301+
rm -f "$tmp_file"
302+
fi
300303

301304
#----------------------------------------------------------#
302305
# Hestia #

0 commit comments

Comments
 (0)