diff --git a/screenshot.sh b/screenshot.sh index e9c1c38..fc3bf16 100755 --- a/screenshot.sh +++ b/screenshot.sh @@ -6,10 +6,10 @@ local outpath="${HOME}/downloads/${outfile}" case "${1}" in; '-root') - maim ${maim_args} "${outpath}" + maim ${maim_args} "${outpath}" || exit ;; '-select' | *) - maim ${maim_args} -s "${outpath}" + maim ${maim_args} -s "${outpath}" || exit ;; esac