1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Files
stackexchange-dnscontrol/providers/activedir/getzones_other.go

18 lines
413 B
Go
Raw Normal View History

2016-08-22 18:31:50 -06:00
// +build !windows
package activedir
func (c *adProvider) getRecords(domainname string) ([]byte, error) {
if !*flagFakePowerShell {
panic("Can not happen: PowerShell on non-windows")
}
return c.readZoneDump(domainname)
}
func powerShellDoCommand(command string, shouldLog bool) error {
2016-08-22 18:31:50 -06:00
if !*flagFakePowerShell {
panic("Can not happen: PowerShell on non-windows")
}
return powerShellRecord(command)
}