[MDEV-15549] wsrep_sst_common: fix per shellcheck Created: 2018-03-12  Updated: 2021-05-13  Resolved: 2018-07-19

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients, wsrep
Affects Version/s: None
Fix Version/s: 10.0.36-galera

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: contribution, foundation


 Description   

POSIX shell support in 10.0-galera would require f16ead5 however this shellcheck component wasn't included.

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.


Generated at Thu Feb 08 08:22:09 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.