fix: screenshot not being removed
This commit is contained in:
parent
66c652b4b7
commit
3d1a32bafa
|
@ -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*
|
||||
|
|
Loading…
Reference in a new issue