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 | 5645231c498048dd4a1e4b097437a6f4c63cd022 (patch) | |
| tree | b178242225970e6ed1dceb758b8d9b5e4e231d6e /unix.go | |
| parent | 76699a310278d5b52613f0a59a664c9213fa6668 (diff) | |
remove places the app could exit
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) |
