Merge pull request #109 from aaronbartell/master

Fix for parsing for IBM i v7.2
pull/118/head
neil 9 years ago
commit 95fd753ffc

@ -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

Loading…
Cancel
Save