Fixed bbg on return value.

This commit is contained in:
Christian P. MOMON 2016-07-01 16:08:23 +02:00
parent 62acec6293
commit 3583dbdfca

View file

@ -150,7 +150,7 @@ public class CmdExec
{
int result;
logger.info("CmdExec(commande) = [" + command + "]");
logger.info("CmdExec(command) = [" + command + "]");
String[] commands = command.split("[ \t\n\r\f]");
@ -188,8 +188,8 @@ public class CmdExec
{
int result;
logger.info("CmdExec(commande[]) = [" + StringListUtils.toStringSeparatedBy(command, " ") + "]");
logger.info("CmdExec(commande[]) = [" + StringListUtils.toStringWithBrackets(command) + "]");
logger.info("CmdExec(command[]) = [" + StringListUtils.toStringSeparatedBy(command, " ") + "]");
logger.info("CmdExec(command[]) = [" + StringListUtils.toStringWithBrackets(command) + "]");
try
{
@ -222,7 +222,6 @@ public class CmdExec
this.out = outputGobbler.getStream();
this.err = errorGobbler.getStream();
this.exitValue = 0;
result = this.exitValue;
}
catch (Exception exception)