about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorLeo Vivier <zaephon@gmail.com>2019-01-14 23:37:06 +0100
committerLeo Vivier <zaephon@gmail.com>2019-01-14 23:37:06 +0100
commit0f7c37bf62de909d092ca5ae9932cf7775a034b1 (patch)
tree82a83a6dfefae297f61534371ccb2ced41347f54
parent51181722d4e6bfa338680bf9b031095db8609916 (diff)
downloadranger-0f7c37bf62de909d092ca5ae9932cf7775a034b1.tar.gz
Add -- before positional arguments
-rwxr-xr-xranger/data/scope.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh
index 2a84796f..c3a6def8 100755
--- a/ranger/data/scope.sh
+++ b/ranger/data/scope.sh
@@ -143,7 +143,7 @@ handle_image() {
 	    if [[ "$?" > 0 ]] ; then
 		exit 1
 	    else
-		convert "${preview_png}" "${IMAGE_CACHE_PATH}" \
+		convert -- "${preview_png}" "${IMAGE_CACHE_PATH}" \
 		    && rm "${preview_png}" \
                     && exit 6
 	    fi
21 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148