summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-01-21 11:57:57 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-01-21 12:04:33 +0000
commit81c1ad8bb7ead8d89e1a335ba7df4e2486368ba1 (patch)
tree2664e8500b8a315aede20fa16088437c507d87ae /tools
parentd74822f88de41a65321109a9647747bf6a0b876f (diff)
with-session-bus.sh: fix a bashism
Redirecting both stdout and stderr with &> doesn't work in dash. Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/with-session-bus.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/with-session-bus.sh b/tools/with-session-bus.sh
index 9e3ecbe9a..063bd7e17 100644
--- a/tools/with-session-bus.sh
+++ b/tools/with-session-bus.sh
@@ -79,7 +79,7 @@ export DBUS_SESSION_BUS_ADDRESS
if [ -n "$WITH_SESSION_BUS_FORK_DBUS_MONITOR" ] ; then
echo -n "Forking dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT" >&2
dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT \
- &> $me-$$.dbus-monitor-logs &
+ > $me-$$.dbus-monitor-logs 2>&1 &
fi
"$@" || e=$?