OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc_config.c versions 1.30 and 1.31
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc_config.c 1.30 -> 1.31

--- rc_config.c  2003/05/27 11:53:12     1.30
+++ rc_config.c  2003/05/28 18:58:16     1.31
@@ -200,6 +200,11 @@
         clioptParseargs();                  /* Command line args */
 /*        envoptParse(m_nLocks->pOpt);*/    /* Environment options   */
 /*        cnfoptParse(m_nLocks->pOpt);*/    /* Configfile options    */
+
+        /* Test if information is asked of the operating environment */
+        if (configGetval(RC_INF_VAL)) { /* These lines must come after */
+            configInfo();               /* option parsing is finished! */
+        }
     }
     catch(Except)
         rethrow;
@@ -260,10 +265,6 @@
             fprintf(stdout, "OSSP rc %s\n", RC_VERSION);
             bStop = TRUE;
         }
-        else if (configGetval(RC_INF_VAL)) {
-            configInfo();
-            bStop = TRUE;
-        }
     }
     catch(Except)
         rethrow;

CVSTrac 2.0.1