Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalClient
Commits
87ab4acf
Commit
87ab4acf
authored
Feb 18, 2019
by
Lukas Burgey
Browse files
Fix error reporting
parent
a942a523
Changes
1
Show whitespace changes
Inline
Side-by-side
main.go
View file @
87ab4acf
...
...
@@ -23,7 +23,7 @@ var (
)
.
Author
(
"Lukas Burgey"
,
)
.
Version
(
"v2.1.
0
"
,
"v2.1.
1
"
,
)
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
)
return
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment