Red Hat Bugzilla – Bug 1013931
Executing gverify.sh without any option should display its usage.
Last modified: 2016-05-31 21:57:08 EDT
Description of problem: gverify.sh displays the usage of "ping" command with ambiguous redirect message for log_file. Ideally executing gverify.sh without any options should display its usage, instead of having the user to open the file to find it.
Version-Release number of selected component (if applicable):
How reproducible: Always
Steps to Reproduce:
1. Execute /usr/libexec/glusterfs/gverify.sh
/usr/libexec/glusterfs/gverify.sh: line 100: $log_file: ambiguous redirect
Usage: ping [-LRUbdfnqrvVaA] [-c count] [-i interval] [-w deadline]
[-p pattern] [-s packetsize] [-t ttl] [-I interface or address]
[-M mtu discovery hint] [-S sndbuf]
[ -T timestamp option ] [ -Q tos ] [hop1 ...] destination
/usr/libexec/glusterfs/gverify.sh: line 107: $log_file: ambiguous redirect
Expected results: Should display the "Usage" of gverify.sh.
*** Bug 1013947 has been marked as a duplicate of this bug. ***
Closing this bug since RHGS 2.1 release reached EOL. Required bugs are cloned to RHGS 3.1. Please re-open this issue if found again.