diff options
| -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 f2183a4..11157c5 100644 --- a/get_darwin.go +++ b/get_darwin.go @@ -17,7 +17,7 @@ func osGetHostname() (string, error) { // getDomainName executes the 'domainname' command and returns its output. func scutil(args []string) (string, error) { - cmd := exec.Command("scutil", args) + cmd := exec.Command("scutil", args...) var out bytes.Buffer cmd.Stdout = &out if err := cmd.Run(); err != nil { |
