fix: screenshot not being removed

This commit is contained in:
speedie 2023-06-15 19:10:20 +02:00
parent 66c652b4b7
commit 3d1a32bafa

View file

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