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 | f6f5bdba4e982595ad1c12041d39f75e11792ef8 (patch) | |
| tree | 89c5c4856fcec28bb28fe0be4a4706559b6a3979 /linuxstatus/hostname.go | |
| parent | c59247824f22cf62b1625f5eeea11b809374d7a0 (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) { |
