[jboss-jira] [JBoss JIRA] (WFLY-3781) Better warning message in add-user.sh

David Tonhofer (JIRA) issues at jboss.org
Wed Aug 27 11:13:59 EDT 2014


David Tonhofer created WFLY-3781:
------------------------------------

             Summary: Better warning message in add-user.sh
                 Key: WFLY-3781
                 URL: https://issues.jboss.org/browse/WFLY-3781
             Project: WildFly
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Scripts
    Affects Versions: 8.1.0.Final
         Environment: Linux
            Reporter: David Tonhofer
            Assignee: Tomaz Cerar
            Priority: Minor


If (shell or environment) variable JBOSS_HOME is set to something unexpected, then add-user.sh complains:

"WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur."

This can be made clearer, e.g.:

"WARNING: The JBOSS_HOME (/usr/java/jboss7) that this script will use may indicate a different installation than the one this script resides in (/usr/local/java/wildfly) - unpredictable results may occur."

Change of line 35 in "bin/add-user.sh":

   echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script will use may indicate a different installation than the one this script resides in ($RESOLVED_JBOSS_HOME) - unpredictable results may occur."




--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list