From 49e5aa690cdaac55e3d0a9423fb4b5cb6b3a2fd8 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 2 Apr 2012 17:42:45 +0200 Subject: ext.rifle: fix rifle.py for /bin/sh -> /bin/dash --- ranger/ext/rifle.py | 4 ++-- 1 file 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): -- cgit 1.4.1-2-gfad0