mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 14:38:09 +02:00
tests: fix bashism in run-test-dbus-session.sh
https://bugzilla.gnome.org/show_bug.cgi?id=762940
This commit is contained in:
parent
89d1e46615
commit
0518489b39
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
"$@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue