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<&-
8 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239