[Bugs] [Bug 1446126] New: S30samba-start.sh throws 'unary operator expected' warning during independent execution

bugzilla at redhat.com bugzilla at redhat.com
Thu Apr 27 09:58:54 UTC 2017


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

            Bug ID: 1446126
           Summary: S30samba-start.sh throws 'unary operator expected'
                    warning during independent execution
           Product: GlusterFS
           Version: mainline
         Component: scripts
          Severity: low
          Assignee: bugs at gluster.org
          Reporter: anoopcs at redhat.com
                CC: bugs at gluster.org



Description of problem:
Hook script S30samba-start.sh when executed independently throws the following
warning:

/var/lib/glusterd/hooks/1/start/post/S30samba-start.sh: line 105: [: =: unary
operator expected

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

How reproducible:
Always

Steps to Reproduce:
1. Create a simple distribute/replicate volume
2. Start the volume
3. Run the script as follows:
# /var/lib/glusterd/hooks/1/start/post/S30samba-start.sh --volname=xcube
--gd-workdir=/var/lib/glusterd

Actual results:
/var/lib/glusterd/hooks/1/start/post/S30samba-start.sh: line 105: [: =: unary
operator expected

Expected results:
No warnings should be seen

-- 
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