about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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