[Bugs] [Bug 1500649] New: Shellcheck errors in hook scripts

bugzilla at redhat.com bugzilla at redhat.com
Wed Oct 11 09:28:06 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1500649

            Bug ID: 1500649
           Summary: Shellcheck errors in hook scripts
           Product: GlusterFS
           Version: mainline
         Component: scripts
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: anoopcs at redhat.com
                CC: bugs at gluster.org



Created attachment 1337064
  --> https://bugzilla.redhat.com/attachment.cgi?id=1337064&action=edit
Shellcheck output

Description of problem:
Please see the attachment for the output on running Shellcheck utility against
hook scripts inside GlusterFS code base.

Version-Release number of selected component (if applicable):
mainline

How reproducible:
Always

Steps to Reproduce:
1. Clone GlusterFS repository
2. Find all .sh scripts under extras/hooks directory and run the utility
against every such script.
# for i in `find extras/hook-scripts/ -name "*.sh"`; do shellcheck $i; done

Actual results:
Errors are present in hook scripts as reported by Shellcheck

Expected results:
No errors should be reported.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list