tests: fix bashism in run-test-dbus-session.sh

https://bugzilla.gnome.org/show_bug.cgi?id=762940
This commit is contained in:
Michael Biebl 2016-03-01 19:43:44 +01:00 committed by Thomas Haller
parent 89d1e46615
commit 0518489b39

View file

@ -1,6 +1,6 @@
#!/bin/sh
if ! which dbus-run-session &>/dev/null; then
if ! which dbus-run-session >/dev/null 2>&1; then
eval `dbus-launch --sh-syntax`
trap "kill $DBUS_SESSION_BUS_PID" EXIT
"$@"