aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/imgresize
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-22 02:14:25 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-22 11:13:34 +0530
commit1cca9e4b72b106374f203890b266f18609deefe3 (patch)
tree9f281f4b4de296c54d13dc9c7e214f58835636a7 /plugins/imgresize
parentee2dcb1de7d3e82b330f49ee9fb5dfd4608207ff (diff)
downloadnnn-1cca9e4b72b106374f203890b266f18609deefe3.tar.gz
shellcheck fixes
Diffstat (limited to 'plugins/imgresize')
-rwxr-xr-xplugins/imgresize4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/imgresize b/plugins/imgresize
index 01917e7..def5560 100755
--- a/plugins/imgresize
+++ b/plugins/imgresize
@@ -21,8 +21,8 @@ res=
minsize=1048576
if [ -z "$res" ]; then
- echo -n "desktop resolution (hxv): "
- read res
+ printf "desktop resolution (hxv): "
+ read -r res
fi
if ! [ -z "$res" ] && ! [ -z "$minsize" ]; then