sysstat_webhook : fix arguments again

This commit is contained in:
minoplhy 2023-11-02 13:12:11 +07:00
parent 562ad7a583
commit 83b3e4ec2a
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -63,11 +63,11 @@ fi
EXPANSION=() EXPANSION=()
if [ ! "$SYSSTAT_OPTIONS" == "" ]; then if [ ! "$SYSSTAT_OPTIONS" == "" ]; then
EXPANSION+=$SYSSTAT_OPTIONS EXPANSION+=("$SYSSTAT_OPTIONS")
fi fi
if [ -f "$datafile" ]; then if [ -f "$datafile" ]; then
EXPANSION+="-f $datafile" EXPANSION+=("-f $datafile")
fi fi
if [ "$CPU" == "True" ]; then if [ "$CPU" == "True" ]; then