aboutsummaryrefslogtreecommitdiffstats
path: root/user-scripts/imgresize
diff options
context:
space:
mode:
Diffstat (limited to 'user-scripts/imgresize')
-rwxr-xr-xuser-scripts/imgresize2
1 files changed, 1 insertions, 1 deletions
diff --git a/user-scripts/imgresize b/user-scripts/imgresize
index 40b9945..6d016f1 100755
--- a/user-scripts/imgresize
+++ b/user-scripts/imgresize
@@ -25,7 +25,7 @@ if [ -z "$res" ]; then
read res
fi
-if [ -z "$res" ]; then
+if ! [ -z "$res" ]; then
if ! [ -z "$minsize" ]; then
imgp -ackx "$res" -s "$minsize"
fi