[pkg-fso-commits] [SCM] Automatic Display Manager branch, master, updated. debian/0.8-1-7-ga30dbc0
Enrico Zini
enrico at enricozini.org
Fri Jul 8 17:47:15 UTC 2011
The following commit has been merged in the master branch:
commit 77771d9353f124af11418b07919fa2908b03c0d8
Author: Enrico Zini <enrico at enricozini.org>
Date: Fri Jul 8 17:40:17 2011 +0100
Removed leftovers from root check
diff --git a/test.c b/test.c
index 734e914..fa6d891 100644
--- a/test.c
+++ b/test.c
@@ -30,7 +30,7 @@
void test_setup_dm(struct nodm_display_manager* dm, const char* xcmdline)
{
bool run_nested = getenv("DISPLAY") != NULL;
- bool is_root = getuid() == 0 || getenv("DISPLAY") != NULL;
+ bool is_root = getuid() == 0;
nodm_display_manager_init(dm);
if (xcmdline == NULL)
--
Automatic Display Manager
More information about the pkg-fso-commits
mailing list