Skip to content

Commit

Permalink
WFLY-3781 Better warning messages in add-user.sh (.bat)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsalter committed Oct 27, 2014
1 parent 7836739 commit 268ddb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -31,7 +31,7 @@ popd

if /i "%RESOLVED_JBOSS_HOME%" NEQ "%SANITIZED_JBOSS_HOME%" (
echo.
echo WARNING: JBOSS_HOME may be pointing to a different installation - unpredictable results may occur.
echo WARNING: The JBOSS_HOME ("%SANITIZED_JBOSS_HOME%") that this script uses points to a different installation to the one that this script resides in ("%RESOLVED_JBOSS_HOME%"). Unpredictable results may occur.
echo.
echo JBOSS_HOME: "%JBOSS_HOME%"
echo.
Expand Down
Expand Up @@ -32,7 +32,7 @@ if [ "x$JBOSS_HOME" = "x" ]; then
else
SANITIZED_JBOSS_HOME=`cd "$JBOSS_HOME"; pwd`
if [ "$RESOLVED_JBOSS_HOME" != "$SANITIZED_JBOSS_HOME" ]; then
echo "WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur."
echo "WARNING: The JBOSS_HOME ($SANITIZED_JBOSS_HOME) that this script uses points to a different installation to the one that this script resides in ($RESOLVED_JBOSS_HOME). Unpredictable results may occur."
echo ""
fi
fi
Expand Down

0 comments on commit 268ddb6

Please sign in to comment.