use go-cmd/cmd

This commit is contained in:
Jeff Carr 2024-11-08 06:43:57 -06:00
parent 7e1460f9f6
commit 3185270746
1 changed files with 1 additions and 1 deletions

View File

@ -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)