about summary refs log tree commit diff stats
path: root/ranger.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger.py')
-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<&-