Apply patch #2696. Thanks, espenhw. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@172 7c53e7cc-98ea-0310-8f1f-a0b24da60408
@@ -187,11 +187,12 @@ App::App(int argc, char** argv)
break;
}
-
+#ifndef XNEST_DEBUG
if (getuid() != 0 && !testing) {
cerr << APPNAME << ": only root can run this program" << endl;
exit(ERR_EXIT);
+#endif /* XNEST_DEBUG */