diff options
author | lurchi <lurchi@strangeplace.net> | 2019-07-03 22:31:02 +0200 |
---|---|---|
committer | lurchi <lurchi@strangeplace.net> | 2019-07-03 22:31:02 +0200 |
commit | c7ec44c1263a19ee056eaec27c8bfb2ecd4e5184 (patch) | |
tree | 9f33dc51b60d4b42d874b03965b685a2e475bff8 | |
parent | 9e54fe2c33c7760ff936716cd125c8f00d0f16ef (diff) | |
download | gnunet-c7ec44c1263a19ee056eaec27c8bfb2ecd4e5184.tar.gz gnunet-c7ec44c1263a19ee056eaec27c8bfb2ecd4e5184.zip |
clarify error messages
-rw-r--r-- | src/dns/gnunet-service-dns.c | 3 | ||||
-rw-r--r-- | src/exit/gnunet-daemon-exit.c | 2 | ||||
-rw-r--r-- | src/vpn/gnunet-service-vpn.c | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/dns/gnunet-service-dns.c b/src/dns/gnunet-service-dns.c index dc9f37377..9c4f1f490 100644 --- a/src/dns/gnunet-service-dns.c +++ b/src/dns/gnunet-service-dns.c | |||
@@ -1090,7 +1090,8 @@ run (void *cls, | |||
1090 | NULL)) // TODO: once we have a windows-testcase, add test parameters here | 1090 | NULL)) // TODO: once we have a windows-testcase, add test parameters here |
1091 | { | 1091 | { |
1092 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1092 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1093 | _("`%s' must be installed SUID, will not run DNS interceptor\n"), | 1093 | _("`%s' is not SUID or the path is invalid, " |
1094 | "will not run DNS interceptor\n"), | ||
1094 | binary); | 1095 | binary); |
1095 | global_ret = 1; | 1096 | global_ret = 1; |
1096 | GNUNET_free (binary); | 1097 | GNUNET_free (binary); |
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c index ed49a5297..716a1ead0 100644 --- a/src/exit/gnunet-daemon-exit.c +++ b/src/exit/gnunet-daemon-exit.c | |||
@@ -3800,7 +3800,7 @@ run (void *cls, | |||
3800 | { | 3800 | { |
3801 | GNUNET_free (binary); | 3801 | GNUNET_free (binary); |
3802 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 3802 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
3803 | _("`%s' must be installed SUID, EXIT will not work\n"), | 3803 | _("`%s' is not SUID or the path is invalid, EXIT will not work\n"), |
3804 | "gnunet-helper-exit"); | 3804 | "gnunet-helper-exit"); |
3805 | GNUNET_SCHEDULER_add_shutdown (&dummy_task, | 3805 | GNUNET_SCHEDULER_add_shutdown (&dummy_task, |
3806 | NULL); | 3806 | NULL); |
diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index f48022b5f..260bafc60 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c | |||
@@ -2945,8 +2945,8 @@ run (void *cls, | |||
2945 | "-d gnunet-vpn - - 169.1.3.3.7 255.255.255.0")) //ipv4 only please! | 2945 | "-d gnunet-vpn - - 169.1.3.3.7 255.255.255.0")) //ipv4 only please! |
2946 | { | 2946 | { |
2947 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, | 2947 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, |
2948 | "`%s' is not SUID, refusing to run.\n", | 2948 | "`%s' is not SUID or the path is invalid, refusing to run.\n", |
2949 | "gnunet-helper-vpn"); | 2949 | binary); |
2950 | GNUNET_free (binary); | 2950 | GNUNET_free (binary); |
2951 | global_ret = 1; | 2951 | global_ret = 1; |
2952 | /* we won't "really" exit here, as the 'service' is still running; | 2952 | /* we won't "really" exit here, as the 'service' is still running; |