Commit 87ab4acf authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Fix error reporting

parent a942a523
......@@ -23,7 +23,7 @@ var (
"Lukas Burgey",
cmdStart = app.Command("start", "Starts the client in its normal operation mode.").Default()
cmdDeregister = app.Command("deregister", "Before disabling the client: Use deregister to inform the backend that the client ceases operation.")
......@@ -169,7 +169,7 @@ func main() {
switch cmd {
case "start":
// sync the config with the backend
if conf.Sync() != nil {
if err := conf.Sync(); err != nil {
log.Printf("[Conf] Error synchronizing configuration: %s", err)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment