diff options
| author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-08-04 13:27:36 -0400 |
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-08-11 10:54:31 +0000 |
| commit | 27571cf3cdc83b609bcabf7d0459d61e29abf681 (patch) | |
| tree | a10cac923d2e17c8bb7d822b253d5bf6592cdf8d /libglusterfs/src/logging.c | |
| parent | e605d4f6f8807546eb1730e4e5a4c51d7cfe6e6f (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: 1478498
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: https://review.gluster.org/17978
Smoke: Gluster Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Nigel Babu <nigelb@redhat.com>
Diffstat (limited to 'libglusterfs/src/logging.c')
0 files changed, 0 insertions, 0 deletions
