mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +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:
parent
9d5e47d2d7
commit
759e6f8afb
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue