mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 07:31:33 +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)user;
|
||||||
(void)flags;
|
(void)flags;
|
||||||
|
|
||||||
log_warn(LD_CONFIG,
|
log_warn(LD_CONFIG, "Switching users is unsupported on your OS.");
|
||||||
"User specified but switching users is unsupported on your OS.");
|
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue