diff options
| author | Jeff Carr <[email protected]> | 2023-03-28 08:53:51 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-03-28 08:53:51 -0500 |
| commit | dae59705a1414a861f1de13dfb1e69fe6581c084 (patch) | |
| tree | 5881c06abc316c400fd6126e927bce41b9893486 /unix.go | |
| parent | 91787b9121e68620cb589a403c044b40c1ad3d8d (diff) | |
remove places the app could exitv0.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'unix.go')
| -rw-r--r-- | unix.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -24,6 +24,7 @@ func Escalate() { cmd.Stderr = os.Stderr err := cmd.Run() if err != nil { + log(logError, "exit in Escalate()") exit(err) } } @@ -45,7 +46,7 @@ func DumpPublicDNSZone(zone string) { func dumpIPs(host string) { ips, err := net.LookupIP(host) if err != nil { - exit(err) + log(logError, "dumpIPs() failed:", err) } for _, ip := range ips { log(host, ip) |
