gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r1668 - GNUnet/src/conf


From: durner
Subject: [GNUnet-SVN] r1668 - GNUnet/src/conf
Date: Sun, 14 Aug 2005 13:58:53 -0700 (PDT)

Author: durner
Date: 2005-08-14 13:58:51 -0700 (Sun, 14 Aug 2005)
New Revision: 1668

Modified:
   GNUnet/src/conf/gnunet-setup.c
Log:
fix wizard-gtk

Modified: GNUnet/src/conf/gnunet-setup.c
===================================================================
--- GNUnet/src/conf/gnunet-setup.c      2005-08-14 19:32:19 UTC (rev 1667)
+++ GNUnet/src/conf/gnunet-setup.c      2005-08-14 20:58:51 UTC (rev 1668)
@@ -232,8 +232,9 @@
 #endif
   }
   else if(strcmp(operation, "wizard-gtk") == 0) {
-    errexit(_("Can only run wizard to configure gnunetd.\n"
-              "Did you forget the '%s' option?\n"), "-d");
+    if(!testConfigurationString("GNUNETD", "_MAGIC_", "YES"))
+      errexit(_("Can only run wizard to configure gnunetd.\n"
+                "Did you forget the '%s' option?\n"), "-d");
 #if HAVE_GTK
     wizard_main();
 #else





reply via email to

[Prev in Thread] Current Thread [Next in Thread]