diff options
| author | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-06 11:12:10 -0600 |
| commit | b7c90c8bbccb5eb15a06bc6a370074c756d698ff (patch) | |
| tree | c8c5a241bd0a1b15423bfbd41a8b5b0f2943e86e /linuxstatus/hostname.go | |
| parent | f35ad0837bae88d260e896886033320b64c2772e (diff) | |
stepping through init on a window with state
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxstatus/hostname.go')
| -rw-r--r-- | linuxstatus/hostname.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linuxstatus/hostname.go b/linuxstatus/hostname.go index 76854f5..50a5b27 100644 --- a/linuxstatus/hostname.go +++ b/linuxstatus/hostname.go @@ -3,6 +3,8 @@ package linuxstatus import ( + "errors" + "go.wit.com/log" "go.wit.com/shell" @@ -28,7 +30,7 @@ func getHostname() { log.Error(err, "FQDN hostname error") return } - log.Warn("full hostname should be:", s) + log.Error(errors.New("full hostname should be: " + s)) dn := run("domainname") if (me.domainname.Get() != dn) { |
