Files
haikuports/net-im/bitlbee/patches/bitlbee-3.5.1.patchset
miqlas 4c711a9e21 Bitlbee: new recipe (#2277)
* Bitlbee: new recipe

* It is a mission-critical stuff.

* Copyright

* Settings path

* Final fix :)

* Cleanup

* License, hack removed
2018-03-15 20:49:02 +01:00

26 lines
599 B
Plaintext

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