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
1 changed files with 1 additions and 1 deletions

2
le.sh
View File

@ -1142,7 +1142,7 @@ issue() {
return 1
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
_info "Success"
_stopserver $serverproc