aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/imgresize
diff options
context:
space:
mode:
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