ossp-pkg/rc/rc_proc.c 1.15 -> 1.16
--- rc_proc.c 2002/08/01 15:16:25 1.15
+++ rc_proc.c 2002/08/01 15:54:45 1.16
@@ -199,7 +199,6 @@
/****************************************************/
if (configGetval(RC_EVL_VAL)) /* Evaluate */
fprintf(stderr, "Error: Evaluate is not implemented yet.\n"); /* FIX */
-
else if (configGetval(RC_EXC_VAL)) { /* Execute */
pszVec[0] = "/bin/sh";
pszVec[1] = "-c";
@@ -208,11 +207,9 @@
if (execvp(*pszVec, pszVec) == -1) /* launch */
TRACE("Bad, execvp in child returned -1");
}
-
- else if (configGetval(RC_PRN_VAL)) /* Print */
+ else if (configGetval(RC_PRN_VAL)) /* Print */
scriptDump(pRc->m_pScript);
-
- else /* Something is wrong here */
+ else /* Something is wrong here */
return(RC_THROW(RC_ERR_INT));
return(RC_THROW(RC_OK));
|
|