diff options
| author | 2019-11-17 21:02:43 +0530 | |
|---|---|---|
| committer | 2019-11-17 21:02:43 +0530 | |
| commit | 472564fd7f1245617a792f20cdf43ca47e4164e5 (patch) | |
| tree | 70cd365c3c14843e56516ddda1a17f2ae7851086 /plugins/imgresize | |
| parent | 4f787fd59e7b69e771f53478477727e38a434a43 (diff) | |
| download | nnn-472564fd7f1245617a792f20cdf43ca47e4164e5.tar.gz | |
Do not update merged file, remove README.md
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 |