diff --git a/src/fr/devinsy/util/cmdexec/CmdExec.java b/src/fr/devinsy/util/cmdexec/CmdExec.java index ecaa218..3987bcb 100644 --- a/src/fr/devinsy/util/cmdexec/CmdExec.java +++ b/src/fr/devinsy/util/cmdexec/CmdExec.java @@ -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)