diff --git a/screenshot-spmenu b/screenshot-spmenu index d1fedc8..85b006c 100755 --- a/screenshot-spmenu +++ b/screenshot-spmenu @@ -101,6 +101,8 @@ No arguments will print this help. EOF } +rm -f /tmp/screenshot* + # check arguments case "$1" in "") print_help; exit 0 ;; @@ -137,5 +139,3 @@ case "$u_i" in "") rm -f "/tmp/screenshot*"; exit 0 ;; *) print_help "$@"; exit 0 ;; esac - -rm -f /tmp/screenshot*