try current dir
authorChristian Grothoff <christian@grothoff.org>
Thu, 3 Nov 2011 08:58:14 +0000 (08:58 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 3 Nov 2011 08:58:14 +0000 (08:58 +0000)
src/transport/plugin_transport_wlan.c

index 2763b5082446b464fe59be7577e39af74ddb66d5..e536afd67110cf122d141198e3d32275ea214bd9 100644 (file)
@@ -1532,6 +1532,8 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin)
                      filenameloopback, plugin->interface, plugin->testmode);
 #endif
 
+    if (GNUNET_OS_check_helper_binary (filenameloopback) == GNUNET_SYSERR)
+      filenameloopback = "./gnunet-transport-wlan-helper-dummy";
     if (GNUNET_OS_check_helper_binary (filenameloopback) != GNUNET_SYSERR)
     {
       plugin->server_proc =
@@ -1553,6 +1555,8 @@ wlan_transport_start_wlan_helper (struct Plugin *plugin)
                      "Starting gnunet-wlan-helper loopback 2 process cmd: %s %s %i\n",
                      filenameloopback, plugin->interface, plugin->testmode);
 #endif
+    if (GNUNET_OS_check_helper_binary (filenameloopback) == GNUNET_SYSERR)
+      filenameloopback = "./gnunet-transport-wlan-helper-dummy";
     if (GNUNET_OS_check_helper_binary (filenameloopback) != GNUNET_SYSERR)
     {
       plugin->server_proc =