HomeClusterLabs Projects

pgsql: fix possible bashism

Description

pgsql: fix possible bashism

Quote grep regexp to prevent possible shell expansion and
fix bashism warning:

possible bashism in pgsql line 1949 ([^] should be [!]):
  echo "$OCF_RESKEY_replication_slot_name" | grep -q -e [^a-z0-9_]

Details

Provenance
Valentin Vidic <Valentin.Vidic@CARNet.hr>Authored on Feb 9 2018, 6:44 AM
Parents
rR0a860ae1ebbd: Merge pull request #1101 from davidmhewitt/patch-1
Branches
Unknown
Tags
Unknown

Event Timeline