31 lines
968 B
Plaintext
31 lines
968 B
Plaintext
|
From d69b3759b59128204163715eac22266784d017b0 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Zolt=C3=A1n=20Mizsei?= <zmizsei@extrowerk.com>
|
||
|
Date: Wed, 6 Jan 2021 21:05:07 +0100
|
||
|
Subject: Haiku: user is effective root
|
||
|
|
||
|
|
||
|
diff --git a/orte/orted/orted_submit.c b/orte/orted/orted_submit.c
|
||
|
index 0db2703..b1682d2 100644
|
||
|
--- a/orte/orted/orted_submit.c
|
||
|
+++ b/orte/orted/orted_submit.c
|
||
|
@@ -349,6 +349,8 @@ int orte_submit_init(int argc, char *argv[],
|
||
|
exit(0);
|
||
|
}
|
||
|
|
||
|
+#ifndef __HAIKU__
|
||
|
+/* User is effective root on Haiku */
|
||
|
/* check if we are running as root - if we are, then only allow
|
||
|
* us to proceed if the allow-run-as-root flag was given. Otherwise,
|
||
|
* exit with a giant warning flag
|
||
|
@@ -385,6 +387,7 @@ int orte_submit_init(int argc, char *argv[],
|
||
|
fprintf(stderr, "--------------------------------------------------------------------------\n");
|
||
|
exit(1);
|
||
|
}
|
||
|
+#endif
|
||
|
|
||
|
moveon:
|
||
|
/* process any mca params */
|
||
|
--
|
||
|
2.30.0
|
||
|
|