summaryrefslogtreecommitdiffstats
path: root/network/manager.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-08 14:41:11 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-05-08 14:41:11 +0000
commite9143c3e1fd1b882f475c98394f549d2b2aabcea (patch)
tree4dc264d897e5ee61b74b207b52abf2d27eede535 /network/manager.c
parentfcba5ddbba50277ab533ac9efc8414f8b839ec8e (diff)
Proceed if the bridge creation fails
Diffstat (limited to 'network/manager.c')
-rw-r--r--network/manager.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/network/manager.c b/network/manager.c
index 720f4eb1..9309701b 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -25,9 +25,9 @@
#include <config.h>
#endif
+#include <errno.h>
#include <ctype.h>
#include <dirent.h>
-#include <errno.h>
#include <sys/stat.h>
@@ -773,10 +773,8 @@ int network_init(DBusConnection *conn)
return -1;
}
- if (bridge_create("pan0") < 0) {
+ if (bridge_create("pan0") < 0)
error("Can't create bridge");
- return -1;
- }
if (bnep_init()) {
error("Can't init bnep module");