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
id='n43' href='#n43'>43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
97
98
99
100
101
102
103
104
105