Skip to content
Snippets Groups Projects
Commit 6adeaf0f authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch '5823-grep-regex-with-spaces' into 'master'

fix fpm-status

See merge request !46
parents f1a1e035 b0758a0e
Branches
No related tags found
1 merge request!46fix fpm-status
...@@ -62,7 +62,7 @@ function _getWorkerOfState(){ ...@@ -62,7 +62,7 @@ function _getWorkerOfState(){
# param string variable (part before ":") # param string variable (part before ":")
function _getvalue(){ function _getvalue(){
# grep "^$1:" $tmpfile | cut -d ":" -f 2 | awk '{ print $1 }' # grep "^$1:" $tmpfile | cut -d ":" -f 2 | awk '{ print $1 }'
_getServicedata | grep "^ "$1\":" | cut -d ":" -f 2 | awk '{ print $1 }' _getServicedata | grep "^ \"$1\":" | cut -d ":" -f 2 | awk '{ print $1 }'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment