mandatory first arg
[pnews.git] / war / run.sh
index 5a272e5..a042c04 100755 (executable)
@@ -4,9 +4,8 @@ SDIR=`dirname $0`
 SWAR=`realpath $SDIR/target/pnews-1.0.war`
 
 if [ -z "$1" ]; then
-        SHARED_DIR="/tmp/$$.tmp"
-else
         SHARED_DIR="$1"
+        exit 1
 fi
 
 SHARED_DIR=`realpath $SHARED_DIR`