aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mbf/main.go')
-rw-r--r--cmd/mbf/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 014a7f47..5dd4e8a0 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -71,7 +71,7 @@ func main() {
log.SetPrefix("mbf: ")
msg := message.New(log.Default())
- if os.Geteuid() == 0 {
+ if !poisonOpen && os.Geteuid() == 0 {
log.Fatal("this program must not run as root")
}