mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
while we're cleaning code, get rid of some unreachable code at
the bottom of switch_id svn:r17205
This commit is contained in:
parent
14773f42a7
commit
b32e600d50
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user