fix errors references on messages.

This commit is contained in:
Michael Fernandes 2022-09-06 10:41:28 -03:00 committed by GitHub
parent 8654e63ba8
commit 84ec566a42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ func installService(cmd *cobra.Command, args []string) {
cmd_enable_err := enable_command.Start() cmd_enable_err := enable_command.Start()
if cmd_enable_err != nil { if cmd_enable_err != nil {
log.WithField("error", wf_err).Fatal("error while enabling service") log.WithField("error", cmd_enable_err).Fatal("error while enabling service")
return return
} }
@ -71,7 +71,7 @@ func installService(cmd *cobra.Command, args []string) {
cmd_reload_err := daemon_reload_command.Start() cmd_reload_err := daemon_reload_command.Start()
if cmd_reload_err != nil { if cmd_reload_err != nil {
log.WithField("error", wf_err).Fatal("error while reloading daemon") log.WithField("error", cmd_reload_err).Fatal("error while reloading daemon")
return return
} }