summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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):