diff options
| author | Jeff Carr <[email protected]> | 2025-08-31 12:17:05 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-31 12:17:05 -0500 |
| commit | 6a205dfa4e3f217e3317509911ddc812a8ef49f6 (patch) | |
| tree | 9f3e340ed0894d98a9df26c522d75f02b7369302 /get_darwin.go | |
| parent | df3dbcbc7e5bdcf526c109dbdb55a2553d39bb3a (diff) | |
wasn't compiling on the macv0.0.3
Diffstat (limited to 'get_darwin.go')
| -rw-r--r-- | get_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/get_darwin.go b/get_darwin.go index 11157c5..d98ce8a 100644 --- a/get_darwin.go +++ b/get_darwin.go @@ -12,7 +12,7 @@ import ( // scutil --set HostName my-mac.example.com func osGetHostname() (string, error) { - return scutil([]string{"-get", "HostName"}) + return scutil([]string{"--get", "HostName"}) } // getDomainName executes the 'domainname' command and returns its output. |
