From aeabf64f2a848227eed90f92f7c299492fd0d642 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
Date: Sun, 4 Mar 2018 15:37:09 +0100
Subject: user is effective root on Haiku


diff --git a/unix.c b/unix.c
index a41f9c3..a2bbe47 100644
--- a/unix.c
+++ b/unix.c
@@ -175,9 +175,11 @@ int main(int argc, char *argv[])
 	sigaction(SIGINT, &sig, &old);
 	sigaction(SIGTERM, &sig, &old);
 
+#ifndef __HAIKU__
 	if (!getuid() || !geteuid()) {
 		log_message(LOGLVL_WARNING, "BitlBee is running with root privileges. Why?");
 	}
+#endif
 
 	b_main_run();
 
-- 
2.16.2

