mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Improve warning message
The user parameter is not checked so we do not know the user has been specified.
This commit is contained in:
committed by
Nick Mathewson
parent
9d5e47d2d7
commit
759e6f8afb
+1
-2
@@ -2207,8 +2207,7 @@ switch_id(const char *user, const unsigned flags)
|
||||
(void)user;
|
||||
(void)flags;
|
||||
|
||||
log_warn(LD_CONFIG,
|
||||
"User specified but switching users is unsupported on your OS.");
|
||||
log_warn(LD_CONFIG, "Switching users is unsupported on your OS.");
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user