about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-04-02 17:42:45 +0200
committerhut <hut@lavabit.com>2012-04-02 17:43:14 +0200
commit49e5aa690cdaac55e3d0a9423fb4b5cb6b3a2fd8 (patch)
tree9517f9087376a096c248a4abc1187ac7e432c899 /ranger
parent88d59a82a1292cca071041e9b5e78d5d13008dc2 (diff)
downloadranger-49e5aa690cdaac55e3d0a9423fb4b5cb6b3a2fd8.tar.gz
ext.rifle: fix rifle.py for /bin/sh -> /bin/dash
Diffstat (limited to 'ranger')
-rwxr-xr-xranger/ext/rifle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index f475ae9f..08f89af3 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -199,9 +199,9 @@ class Rifle(object):
 			action = "$TERMCMD -e %s" % action
 		if 'f' in flags:
 			if 'setsid' in get_executables():
-				action = "setsid %s >& /dev/null &" % action
+				action = "setsid %s > /dev/null 2> /dev/null" % action
 			else:
-				action = "nohup %s >& /dev/null &" % action
+				action = "nohup %s > /dev/null 2> /dev/null &" % action
 		return action
 
 	def list_commands(self, files, mimetype=None):