summaryrefslogtreecommitdiff
path: root/unix.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-03-28 08:53:51 -0500
committerJeff Carr <[email protected]>2023-03-28 08:53:51 -0500
commit5645231c498048dd4a1e4b097437a6f4c63cd022 (patch)
treeb178242225970e6ed1dceb758b8d9b5e4e231d6e /unix.go
parent76699a310278d5b52613f0a59a664c9213fa6668 (diff)
remove places the app could exit
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'unix.go')
-rw-r--r--unix.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix.go b/unix.go
index a8eb28b..09635d8 100644
--- a/unix.go
+++ b/unix.go
@@ -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)