diff options
Diffstat (limited to 'src/tc-switchuser.c')
-rw-r--r-- | src/tc-switchuser.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/tc-switchuser.c b/src/tc-switchuser.c index 3bb3fe9..1763527 100644 --- a/src/tc-switchuser.c +++ b/src/tc-switchuser.c @@ -1,14 +1,7 @@ -/* - * Copyright Jan Engelhardt - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the WTF Public License version 2 or - * (at your option) any later version. - */ +// SPDX-License-Identifier: MIT #ifdef HAVE_CONFIG_H # include "config.h" #endif -#if defined(HAVE_INITGROUPS) #include <errno.h> #include <stdio.h> #include <stdlib.h> @@ -17,6 +10,7 @@ #include <libHX/defs.h> #include <libHX/option.h> #include <libHX/proc.h> +#if defined(HAVE_INITGROUPS) static char *user_name, *group_name; static const struct HXoption options_table[] = { @@ -70,4 +64,9 @@ int main(int argc, const char **argv) } return EXIT_SUCCESS; } +#else +int main(void) +{ + return EXIT_SUCCESS; +} #endif |