From 50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Tue, 14 Jul 2015 19:38:58 +0200 Subject: Imported Upstream version 1.0.4 --- src/nm-dbus-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nm-dbus-manager.c') diff --git a/src/nm-dbus-manager.c b/src/nm-dbus-manager.c index f57eeb8e..7e20b2c1 100644 --- a/src/nm-dbus-manager.c +++ b/src/nm-dbus-manager.c @@ -36,6 +36,7 @@ #include #include #include "nm-logging.h" +#include "NetworkManagerUtils.h" #define PRIV_SOCK_PATH NMRUNDIR "/private" #define PRIV_SOCK_TAG "private" @@ -490,7 +491,7 @@ private_server_setup (NMDBusManager *self) NMDBusManagerPrivate *priv = NM_DBUS_MANAGER_GET_PRIVATE (self); /* Skip this step if this is just a test program */ - if (g_test_initialized ()) + if (nm_utils_get_testing ()) return; /* Set up our main private DBus socket */ -- cgit 1.3.0-6-gf8a5