diff options
author | hut <hut@lavabit.com> | 2012-04-02 17:42:45 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-04-02 17:43:14 +0200 |
commit | 49e5aa690cdaac55e3d0a9423fb4b5cb6b3a2fd8 (patch) | |
tree | 9517f9087376a096c248a4abc1187ac7e432c899 /ranger | |
parent | 88d59a82a1292cca071041e9b5e78d5d13008dc2 (diff) | |
download | ranger-49e5aa690cdaac55e3d0a9423fb4b5cb6b3a2fd8.tar.gz |
ext.rifle: fix rifle.py for /bin/sh -> /bin/dash
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/ext/rifle.py | 4 |
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): |