diff --git a/main.go b/main.go index 50dc564..5e944d1 100644 --- a/main.go +++ b/main.go @@ -74,6 +74,10 @@ func main() { ilog = log.I dlog = log.D + if os.Geteuid() == 0 { + elog.Fatalf("do not run honk as root") + } + args := flag.Args() cmd := "run" if len(args) > 0 {