diff options
Diffstat (limited to 'plugins/imgresize')
| -rwxr-xr-x | plugins/imgresize | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/imgresize b/plugins/imgresize index 6d016f1..01917e7 100755 --- a/plugins/imgresize +++ b/plugins/imgresize @@ -25,8 +25,6 @@ if [ -z "$res" ]; then read res fi -if ! [ -z "$res" ]; then - if ! [ -z "$minsize" ]; then - imgp -ackx "$res" -s "$minsize" - fi +if ! [ -z "$res" ] && ! [ -z "$minsize" ]; then + imgp -ackx "$res" -s "$minsize" fi |