diff --git a/oz-init/init.go b/oz-init/init.go index f35923e..7e10912 100644 --- a/oz-init/init.go +++ b/oz-init/init.go @@ -180,11 +180,9 @@ func (st *initState) runInit() { } st.log.Info("Hostname set to (%s.local)", st.profile.Name) - if st.needsDbus() { - if err := st.setupDbus(); err != nil { - st.log.Error("Unable to setup dbus: %v", err) - os.Exit(1) - } + if err := st.setupDbus(); err != nil { + st.log.Error("Unable to setup dbus: %v", err) + os.Exit(1) } oz.ReapChildProcs(st.log, st.handleChildExit)