aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index cf62d32..235a0f5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -309,9 +309,6 @@ int main(int argc, char *argv[])
LOG_SET_FUNCS_VA(LOG_COLORED_FUNCS);
}
- ABORT_ON_FATAL( selftest_minimal_requirements(),
- "Selfcheck" );
-
if (getopt_used(OPT_LOGLEVEL)) {
value = getopt_str(OPT_LOGLEVEL);
if (!strcasecmp(value, "debug"))
@@ -335,6 +332,9 @@ int main(int argc, char *argv[])
N("%s (C) 2018 Toni Uhlig <%s>", PACKAGE_STRING, PACKAGE_BUGREPORT);
#endif
+ ABORT_ON_FATAL( selftest_minimal_requirements(),
+ "Selfcheck" );
+
if (geteuid() != 0) {
E("%s", "I was made for root!");
exit(EXIT_FAILURE);