use go-cmd/cmd
This commit is contained in:
parent
7e1460f9f6
commit
3185270746
|
@ -127,7 +127,7 @@ func lookupHostname() {
|
||||||
log.Log(WARN, "need to run: 'domainname", realdn, "' here")
|
log.Log(WARN, "need to run: 'domainname", realdn, "' here")
|
||||||
me.changed = true
|
me.changed = true
|
||||||
me.hostnameStatus.SetText("FIXING")
|
me.hostnameStatus.SetText("FIXING")
|
||||||
shell.RunPath("", []string{"domainname", realdn})
|
shell.Run([]string{"domainname", realdn})
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
log.Log(WARN, "getDomainName() err =", err)
|
log.Log(WARN, "getDomainName() err =", err)
|
||||||
|
|
Loading…
Reference in New Issue