diff options
Diffstat (limited to 'src/pt/test_gnunet_vpn.c')
-rw-r--r-- | src/pt/test_gnunet_vpn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pt/test_gnunet_vpn.c b/src/pt/test_gnunet_vpn.c index df87da30a..206eb0f47 100644 --- a/src/pt/test_gnunet_vpn.c +++ b/src/pt/test_gnunet_vpn.c | |||
@@ -404,7 +404,7 @@ main (int argc, char *const *argv) | |||
404 | const char *bin; | 404 | const char *bin; |
405 | char *vpn_binary; | 405 | char *vpn_binary; |
406 | char *exit_binary; | 406 | char *exit_binary; |
407 | int ret=0; | 407 | int ret = 0; |
408 | 408 | ||
409 | #ifndef MINGW | 409 | #ifndef MINGW |
410 | if (0 != ACCESS ("/dev/net/tun", R_OK)) | 410 | if (0 != ACCESS ("/dev/net/tun", R_OK)) |
@@ -413,7 +413,7 @@ main (int argc, char *const *argv) | |||
413 | "/dev/net/tun"); | 413 | "/dev/net/tun"); |
414 | fprintf (stderr, | 414 | fprintf (stderr, |
415 | "WARNING: System unable to run test, skipping.\n"); | 415 | "WARNING: System unable to run test, skipping.\n"); |
416 | return 0; | 416 | return 77; |
417 | } | 417 | } |
418 | #endif | 418 | #endif |
419 | vpn_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-vpn"); | 419 | vpn_binary = GNUNET_OS_get_libexec_binary_path ("gnunet-helper-vpn"); |
@@ -425,7 +425,7 @@ main (int argc, char *const *argv) | |||
425 | GNUNET_free (exit_binary); | 425 | GNUNET_free (exit_binary); |
426 | fprintf (stderr, | 426 | fprintf (stderr, |
427 | "WARNING: gnunet-helper-{exit,vpn} binaries are not SUID, refusing to run test (as it would have to fail). %d\n", ret); | 427 | "WARNING: gnunet-helper-{exit,vpn} binaries are not SUID, refusing to run test (as it would have to fail). %d\n", ret); |
428 | return 0; | 428 | return 77; |
429 | } | 429 | } |
430 | 430 | ||
431 | GNUNET_free (vpn_binary); | 431 | GNUNET_free (vpn_binary); |