[Bugs] [Bug 1503983] Wrong usage of getopt shell command in hook-scripts

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 31 12:24:43 UTC 2017


--- Comment #8 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18569 committed in master by  

------------- extras/hooks: Honour all input arguments to scripts

Some of the hook scripts were not honouring the arguments with which
they are invoked during various volume operations. So make sure that
we consider everything while parsing the command line arguments to
avoid following warnings:

. . .
ame: unrecognized option '--first=no'
ame: unrecognized option '--version=1'
ame: unrecognized option '--volume-op=start'
. . .

Change-Id: I5b08e5e7f32908c8509e97098a042096b507783e
BUG: 1503983
Signed-off-by: Anoop C S <anoopcs at redhat.com>

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=P2KwmHxL7t&a=cc_unsubscribe

More information about the Bugs mailing list