Fix always set dbus machine-id in case program launches it

master
xSmurf 9 years ago
parent 1f4400d3ff
commit f9214ee18f

@ -180,12 +180,10 @@ func (st *initState) runInit() {
} }
st.log.Info("Hostname set to (%s.local)", st.profile.Name) st.log.Info("Hostname set to (%s.local)", st.profile.Name)
if st.needsDbus() {
if err := st.setupDbus(); err != nil { if err := st.setupDbus(); err != nil {
st.log.Error("Unable to setup dbus: %v", err) st.log.Error("Unable to setup dbus: %v", err)
os.Exit(1) os.Exit(1)
} }
}
oz.ReapChildProcs(st.log, st.handleChildExit) oz.ReapChildProcs(st.log, st.handleChildExit)

Loading…
Cancel
Save