screenshot: fix syntax error

This commit is contained in:
yosh 2023-08-21 08:08:34 -04:00
parent da6a2fc438
commit 44af310b33
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ choose() {
h1="$(md5sum "$tmpfp")"
gimp -n "$tmpfp"
h2="$(md5sum "$tmpfp")"
[ -n "$h1" != "$h2" ] && save # changed, save
[ "$h1" != "$h2" ] && save # changed, save
;;
scan)
zdata="$(zbarimg -1 "$tmpfp")" || zdata="error: scan failed with exit code $?"