diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-07-31 09:48:09 -0400 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-08-01 17:41:25 +0000 |
commit | 1ae3747608797445c4a59569f93edc331e3626b0 (patch) | |
tree | be16f4c17bfa361ba93f0398e01d0b26419d9976 /extras/group-metadata-cache | |
parent | ab4ffdac9dec1867f2d9b33242179cf2b347319d (diff) |
scripts: invalid test(1) in extras/S32gluster_enable_shared_storage.sh
test(1) man pages says -eq is for INTEGER compares, and = is for
string compares.
Also note the comment that -a and -o are ambiguous and to use
test && test or test || test instead.
This bug has existed since 2015! (yikes)
Found while testing localtime logging and running glusterd in the
foreground.
Change-Id: Ia544f7295e247b981504d085ebc4c533ab60ba84
BUG: 1476785
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: https://review.gluster.org/17925
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'extras/group-metadata-cache')
0 files changed, 0 insertions, 0 deletions