[jboss-jira] [JBoss JIRA] (WFCORE-652) standalone.sh --debug flag swallows next argument if no port provided
Brian Stansberry (JIRA)
issues at jboss.org
Tue Jun 9 08:28:02 EDT 2015
[ https://issues.jboss.org/browse/WFCORE-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFCORE-652:
------------------------------------
Component/s: Scripts
> 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
> Components: Scripts
> 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.15#6346)
More information about the jboss-jira
mailing list