all repos — honk @ 0726f9495df5453565e7593735b98fd01d3e1c6b

my fork of honk

do not run honk as root
Ted Unangst tedu@tedunangst.com
Mon, 07 Aug 2023 13:58:24 -0400
commit

0726f9495df5453565e7593735b98fd01d3e1c6b

parent

dbfc63833e116c41e86a6e39760626844afb54c4

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M main.gomain.go

@@ -74,6 +74,10 @@ elog = log.E

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 {