Fix elif syntax error
This commit is contained in:
parent
1e3a07f6ef
commit
0c01329371
|
@ -18,8 +18,8 @@ if [ $# -eq "3" ]; then
|
||||||
APP="$1"
|
APP="$1"
|
||||||
TITLE="$2"
|
TITLE="$2"
|
||||||
MSG="$3"
|
MSG="$3"
|
||||||
if [ $# -eq "2" ]; then
|
elif [ $# -eq "2" ]; then
|
||||||
APP=`hostname`
|
APP="`hostname`"
|
||||||
TITLE="$2"
|
TITLE="$2"
|
||||||
MSG="$3"
|
MSG="$3"
|
||||||
else
|
else
|
||||||
|
@ -32,4 +32,3 @@ curl -s https://api.prowlapp.com/publicapi/add \
|
||||||
-F application="$APP" \
|
-F application="$APP" \
|
||||||
-F event="$TITLE" \
|
-F event="$TITLE" \
|
||||||
-F description="$MSG"
|
-F description="$MSG"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue