summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-09-22 01:16:34 +0200
committerhut <hut@lavabit.com>2010-09-22 01:16:34 +0200
commitce9e65728375ac263290888b9c9126c87ffff6dd (patch)
tree5034c7a31409f5336ca2af55fb4d768a5bd9016f
parentcba63cf3683d4ca532efd179005e2ac1f6c60e38 (diff)
downloadranger-ce9e65728375ac263290888b9c9126c87ffff6dd.tar.gz
ranger.py: Return 0 on success in embedded script
-rwxr-xr-xranger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py
index abe4f5e8..c2e067a2 100755
--- a/ranger.py
+++ b/ranger.py
@@ -26,7 +26,7 @@ if [ $1 ]; then
 		cd "$(grep \^\' ~/.config/ranger/bookmarks | cut -b3-)"
 	else
 		cd "$(grep \^\' "$XDG_CONFIG_HOME"/ranger/bookmarks | cut -b3-)"
-	fi
+	fi && return 0
 else
 	echo "usage: source path/to/ranger.py path/to/ranger.py"
 fi