Merge pull request #109 from aaronbartell/master

Fix for parsing for IBM i v7.2
This commit is contained in:
neil 2016-03-29 21:14:30 +08:00
commit 95fd753ffc

2
le.sh
View File

@ -1142,7 +1142,7 @@ issue() {
return 1 return 1
fi fi
status=$(echo $response | egrep -o '"status":"[^"]+"' | cut -d : -f 2 | tr -d '"') status=$(echo $response | egrep -o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"')
if [ "$status" == "valid" ] ; then if [ "$status" == "valid" ] ; then
_info "Success" _info "Success"
_stopserver $serverproc _stopserver $serverproc