mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 10:43:55 +00:00
Merge pull request #1194 from pi-hole/fix/chronometer-summary
Fix chronometer interpreting summaryRaw
This commit is contained in:
commit
55d39595e1
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ function GetJSONValue {
|
||||||
retVal=$(echo $1 | sed 's/\\\\\//\//g' | \
|
retVal=$(echo $1 | sed 's/\\\\\//\//g' | \
|
||||||
sed 's/[{}]//g' | \
|
sed 's/[{}]//g' | \
|
||||||
awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | \
|
awk -v k="text" '{n=split($0,a,","); for (i=1; i<=n; i++) print a[i]}' | \
|
||||||
sed 's/\"\:\"/\|/g' | \
|
sed 's/\"\:/\|/g' | \
|
||||||
sed 's/[\,]/ /g' | \
|
sed 's/[\,]/ /g' | \
|
||||||
sed 's/\"//g' | \
|
sed 's/\"//g' | \
|
||||||
grep -w $2)
|
grep -w $2)
|
||||||
|
|
Loading…
Reference in a new issue