summaryrefslogtreecommitdiffstats
path: root/source/lib/util_sec.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/util_sec.c')
-rw-r--r--source/lib/util_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_sec.c b/source/lib/util_sec.c
index 4306a94191d..f88d3259853 100644
--- a/source/lib/util_sec.c
+++ b/source/lib/util_sec.c
@@ -306,6 +306,7 @@ void become_user_permanently(uid_t uid, gid_t gid)
}
+#ifdef AUTOCONF_TEST
/****************************************************************************
this function just checks that we don't get ENOSYS back
****************************************************************************/
@@ -334,7 +335,6 @@ static int have_syscall(void)
return 0;
}
-#ifdef AUTOCONF_TEST
main()
{
if (getuid() != 0) {