fix
authorJean-Philippe Orsini <orsinije@fr.ibm.com>
Mon, 16 Oct 2017 07:58:29 +0000 (09:58 +0200)
committerJean-Philippe Orsini <orsinije@fr.ibm.com>
Mon, 16 Oct 2017 07:58:29 +0000 (09:58 +0200)
war/run.sh

index fa49ece..02c44ba 100755 (executable)
@@ -4,9 +4,9 @@ SDIR=`dirname $0`
 SWAR=`realpath $SDIR/target/pnews-1.0.war`
 
 if [ -z "$1" ]; then
-        SHARED_DIR="$1"
-else
         exit 1
+else
+        SHARED_DIR="$1"
 fi
 
 echo "SHARED_DIR=$SHARED_DIR"