[jboss-jira] [JBoss JIRA] (WFCORE-652) standalone.sh --debug flag swallows next argument if no port provided
Brian Riehman (JIRA)
issues at jboss.org
Fri Apr 17 14:57:18 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Riehman updated WFCORE-652:
---------------------------------
Git Pull Request: https://github.com/wildfly/wildfly-core/pull/629
> standalone.sh --debug flag swallows next argument if no port provided
> ---------------------------------------------------------------------
>
> Key: WFCORE-652
> URL: https://issues.jboss.org/browse/WFCORE-652
> Project: WildFly Core
> Issue Type: Bug
> Reporter: Brian Riehman
> Priority: Minor
>
> When passing the {{--debug}} flag to the {{standalone.sh}} script, it will swallow the next argument if no port is provided. This occurs because the end of the argument processing loop performs a shift, but a debug flag with no port should not be shifted since the next argument is yet to be processed.
> This can be alleviated by adding a dummy variable to the positional parameters that will be {{shift}}ed off.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list