clarify error messages
authorlurchi <lurchi@strangeplace.net>
Wed, 3 Jul 2019 20:31:02 +0000 (22:31 +0200)
committerlurchi <lurchi@strangeplace.net>
Wed, 3 Jul 2019 20:31:02 +0000 (22:31 +0200)
src/dns/gnunet-service-dns.c
src/exit/gnunet-daemon-exit.c
src/vpn/gnunet-service-vpn.c

index dc9f373771c7553f8b570a2aa2f00f963dc5b2f2..9c4f1f490463a35b8a984c00d23d7ccd37816fb6 100644 (file)
@@ -1090,7 +1090,8 @@ run (void *cls,
                                      NULL)) // TODO: once we have a windows-testcase, add test parameters here
   {
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
-               _("`%s' must be installed SUID, will not run DNS interceptor\n"),
+               _("`%s' is not SUID or the path is invalid, "
+                 "will not run DNS interceptor\n"),
                binary);
     global_ret = 1;
     GNUNET_free (binary);
index ed49a52975e33f7e1f417b89640b94b381c96f7a..716a1ead05f29087089d6f9beee300eb750b8510 100644 (file)
@@ -3800,7 +3800,7 @@ run (void *cls,
     {
       GNUNET_free (binary);
       GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                 _("`%s' must be installed SUID, EXIT will not work\n"),
+                 _("`%s' is not SUID or the path is invalid, EXIT will not work\n"),
                  "gnunet-helper-exit");
       GNUNET_SCHEDULER_add_shutdown (&dummy_task,
                                     NULL);
index f48022b5f4886ba49dd945dd07c44b93b9378b7a..260bafc604cf39fadc7aaa12185af37747c6adc2 100644 (file)
@@ -2945,8 +2945,8 @@ run (void *cls,
                                      "-d gnunet-vpn - - 169.1.3.3.7 255.255.255.0")) //ipv4 only please!
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
-                "`%s' is not SUID, refusing to run.\n",
-                "gnunet-helper-vpn");
+                "`%s' is not SUID or the path is invalid, refusing to run.\n",
+                binary);
     GNUNET_free (binary);
     global_ret = 1;
     /* we won't "really" exit here, as the 'service' is still running;