summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index e8b7ab54a7..763a7c95b8 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -1126,11 +1126,11 @@ switch_id(const char *user)
#else
(void)user;
-#endif
log_warn(LD_CONFIG,
"User specified but switching users is unsupported on your OS.");
return -1;
+#endif
}
#ifdef HAVE_PWD_H