Re: [PATCH v4 6/6] fsmonitor: add a sample query-fsmonitor hook script for Watchman

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 1, 2017 at 5:51 PM, Ben Peart <peartben@xxxxxxxxx> wrote:
> +if [ $1 -eq 1 ]

Tiny nit: Needs quoting:

    $ .git/hooks/query-fsmonitor
    .git/hooks/query-fsmonitor: 15: [: -eq: unexpected operator



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]