mirror of
https://github.com/munin-monitoring/muninlite.git
synced 2024-09-28 22:01:29 +02:00
Use "read" without escaping
This commit is contained in:
parent
974b07a1af
commit
e439fd79a1
@ -115,7 +115,7 @@ PLUGINS=$(echo "$RES" | xargs -r -n 1 echo | sort | xargs echo)
|
|||||||
FUNCTIONS="list nodes config fetch version quit"
|
FUNCTIONS="list nodes config fetch version quit"
|
||||||
HOSTNAME=$(hostname -f 2>/dev/null || hostname)
|
HOSTNAME=$(hostname -f 2>/dev/null || hostname)
|
||||||
echo "# munin node at $HOSTNAME"
|
echo "# munin node at $HOSTNAME"
|
||||||
while read arg0 arg1
|
while read -r arg0 arg1
|
||||||
do
|
do
|
||||||
arg0=$(echo "$arg0" | xargs)
|
arg0=$(echo "$arg0" | xargs)
|
||||||
arg1=$(echo "$arg1" | xargs)
|
arg1=$(echo "$arg1" | xargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user