find /bin/ip
authorpsyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY>
Thu, 2 Feb 2017 09:21:55 +0000 (09:21 +0000)
committerpsyc://loupsycedyglgamf.onion/~lynX <BM-NB7xa9gEpmJgYp9PVnEdACiZcGmmEJcY>
Thu, 2 Feb 2017 09:21:55 +0000 (09:21 +0000)
src/dns/gnunet-helper-dns.c

index 1c5744002b1be5b6ab866c9511ff71d5b726c443..d083a9df26f051384d37517a7f032212b692f673 100644 (file)
@@ -794,6 +794,8 @@ main (int argc, char *const*argv)
       sbin_ip = "/sbin/ip";
     else if (0 == access ("/usr/sbin/ip", X_OK))
       sbin_ip = "/usr/sbin/ip";
+    else if (0 == access ("/bin/ip", X_OK)) /* gentoo has it there */
+      sbin_ip = "/bin/ip";
     else
     {
       fprintf (stderr,