Fixed bbg on return value.
This commit is contained in:
parent
62acec6293
commit
3583dbdfca
1 changed files with 3 additions and 4 deletions
|
@ -150,7 +150,7 @@ public class CmdExec
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
logger.info("CmdExec(commande) = [" + command + "]");
|
logger.info("CmdExec(command) = [" + command + "]");
|
||||||
|
|
||||||
String[] commands = command.split("[ \t\n\r\f]");
|
String[] commands = command.split("[ \t\n\r\f]");
|
||||||
|
|
||||||
|
@ -188,8 +188,8 @@ public class CmdExec
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
logger.info("CmdExec(commande[]) = [" + StringListUtils.toStringSeparatedBy(command, " ") + "]");
|
logger.info("CmdExec(command[]) = [" + StringListUtils.toStringSeparatedBy(command, " ") + "]");
|
||||||
logger.info("CmdExec(commande[]) = [" + StringListUtils.toStringWithBrackets(command) + "]");
|
logger.info("CmdExec(command[]) = [" + StringListUtils.toStringWithBrackets(command) + "]");
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -222,7 +222,6 @@ public class CmdExec
|
||||||
this.out = outputGobbler.getStream();
|
this.out = outputGobbler.getStream();
|
||||||
this.err = errorGobbler.getStream();
|
this.err = errorGobbler.getStream();
|
||||||
|
|
||||||
this.exitValue = 0;
|
|
||||||
result = this.exitValue;
|
result = this.exitValue;
|
||||||
}
|
}
|
||||||
catch (Exception exception)
|
catch (Exception exception)
|
||||||
|
|
Loading…
Reference in a new issue