diff --git a/hostname.go b/hostname.go index 9b38d4a..6b7656e 100644 --- a/hostname.go +++ b/hostname.go @@ -127,7 +127,7 @@ func lookupHostname() { log.Log(WARN, "need to run: 'domainname", realdn, "' here") me.changed = true me.hostnameStatus.SetText("FIXING") - shell.RunPath("", []string{"domainname", realdn}) + shell.Run([]string{"domainname", realdn}) return } else { log.Log(WARN, "getDomainName() err =", err)