commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Better (JIRA)" <>
Subject [jira] Created: (DAEMON-90) bogus warning: Parameter -D must contain one '=' character
Date Wed, 29 Nov 2006 13:07:24 GMT
bogus warning: Parameter -D must contain one '=' character

                 Key: DAEMON-90
             Project: Commons Daemon
          Issue Type: Bug
    Affects Versions: Nightly Builds
            Reporter: Marcus Better
            Priority: Trivial

This warning, printed in -debug mode, is bogus. There may be -D parameters that set a property
with no value, as in
for example. The message can just be removed with no ill effects. See patch below.

Index: src/native/unix/native/arguments.c
--- src/native/unix/native/arguments.c  (revision 2810)
+++ src/native/unix/native/arguments.c  (arbetskopia)
@@ -181,9 +181,6 @@

         } else if (strstr(argv[x],"-D")==argv[x]) {
-            if (temp==NULL) {
-                log_debug("Parameter -D must contain one '=' character");
-            }
             if (temp==argv[x]+2) {
                 log_error("A property name must be specified before '='");

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message