summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-12 00:13:56 +0100
committerhut <hut@lavabit.com>2010-01-12 00:13:56 +0100
commiteaa081deafe64db79effe9ab269fc44a9f63bbe6 (patch)
tree1a8571548385a7d017d4782f0421c17cb939c13e
parent4d6c426ff8d9d304fe97c17249fbfb3b93acf16d (diff)
downloadranger-eaa081deafe64db79effe9ab269fc44a9f63bbe6.tar.gz
ranger.py: more fixes
-rwxr-xr-xranger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger.py b/ranger.py
index 1dd7b86d..00941750 100755
--- a/ranger.py
+++ b/ranger.py
@@ -27,10 +27,10 @@ if [ $1 ]; then
 	ranger_exec="$1"
 	shift
 
-	trap "kill -2 %+" INT
+	trap "" INT
 	exec 3< <($ranger_exec --cd-after-exit $@ 3>&1 1>&2 2>&3 3>&-)
 
-	read ranger_output <&3
+	while read ranger_output; do false; done <&3
 	cd "$ranger_output"
 
 	exec 3<&-