aboutsummaryrefslogtreecommitdiffstats
path: root/user-scripts/imgresize
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-24 17:38:29 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-03-24 17:40:15 +0530
commitf135a30c0c95b84eb62b157f6ff454866b250fce (patch)
tree995620c128a529e3bd52e5b1b5cded8840a0f199 /user-scripts/imgresize
parent0328eafcb9cff7b90963b4dd7d2bfae6eca0cbd7 (diff)
downloadnnn-f135a30c0c95b84eb62b157f6ff454866b250fce.tar.gz
Add script to upload a file to transfer.sh
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