From: Jean-Philippe Orsini Date: Mon, 16 Oct 2017 07:52:42 +0000 (+0200) Subject: mandatory first arg X-Git-Url: https://git.wpitchoune.net/gitweb/?p=pnews.git;a=commitdiff_plain;h=0c072090969ef6fc9b15665d552cbd9102718dc2 mandatory first arg --- diff --git a/war/run.sh b/war/run.sh index 5a272e5..a042c04 100755 --- a/war/run.sh +++ b/war/run.sh @@ -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`