Browse Source

Merge pull request #109 from aaronbartell/master

Fix for parsing for IBM i v7.2
neil 9 years ago
parent
commit
95fd753ffc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      le.sh

+ 1 - 1
le.sh

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