aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/imgresize
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-17 21:02:43 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-17 21:02:43 +0530
commit472564fd7f1245617a792f20cdf43ca47e4164e5 (patch)
tree70cd365c3c14843e56516ddda1a17f2ae7851086 /plugins/imgresize
parent4f787fd59e7b69e771f53478477727e38a434a43 (diff)
downloadnnn-472564fd7f1245617a792f20cdf43ca47e4164e5.tar.gz
Do not update merged file, remove README.md
Diffstat (limited to 'plugins/imgresize')
-rwxr-xr-xplugins/imgresize6
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