Commit 6aa22eaf authored by Daniel Black's avatar Daniel Black

wsrep_sst_common: fix per shellcheck

shellcheck -s sh wsrep_sst_common.sh

In wsrep_sst_common.sh line 258:
        [ -n $3 ] && reval=$3
             ^-- SC2070: -n doesn't work with unquoted arguments. Quote or use [[ ]].
             ^-- SC2086: Double quote to prevent globbing and word splitting.
parent 7bd95307
......@@ -255,7 +255,7 @@ parse_cnf()
# use default if we haven't found a value
if [ -z $reval ]; then
[ -n $3 ] && reval=$3
[ -n "$3" ] && reval=$3
fi
echo $reval
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment