Skip to content
Snippets Groups Projects

fix fpm-status

Merged Hahn Axel (hahn) requested to merge 5823-grep-regex-with-spaces into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -62,7 +62,7 @@ function _getWorkerOfState(){
# param string variable (part before ":")
function _getvalue(){
# 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 }'
}
Loading