[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Improve warning message
commit 759e6f8afb19da6c6664d630f4695fc50cf62abc
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date: Wed Dec 16 23:11:38 2015 +0100
Improve warning message
The user parameter is not checked so we do not know the user has been
specified.
---
src/common/compat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/common/compat.c b/src/common/compat.c
index 7e8eec1..0b8fcb7 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -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
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits