Hello Christophe,

thank you for the patch!

2011/11/4, Christophe Aeschlimann <c.aeschlim...@acn-group.ch>:
> The -f option that let you define a pid file was incorrectly
> handled by the izcoordinator program. The only way to define
> a pid file was to use an environment variable.
> ---
>  src/coordinator.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/coordinator.c b/src/coordinator.c
> index 356abdf..afd57d2 100644
> --- a/src/coordinator.c
> +++ b/src/coordinator.c
> @@ -449,7 +449,7 @@ int main(int argc, char **argv)
>                       return 2;
>               }
>       }
> -     pid_fd = open (PID_FILE, O_WRONLY | O_CREAT, 0640);
> +     pid_fd = open (pid_file, O_WRONLY | O_CREAT, 0640);
>       if (pid_fd < 0) {
>               perror ("open");
>               return 1;
> --
> 1.7.2.5
> --
> Christophe Aeschlimann
>
> Embedded Software Engineer & IT Manager
>
> ACN Advanced Communications Networks S.A.
>
> Rue du Puits-Godet 8a
> 2000 Neuchâtel, Switzerland
>
> Tél. +41 32 724 74 31
>
> c.aeschlim...@acn-group.ch
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Linux-zigbee-devel mailing list
> Linux-zigbee-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
>

Acked-by: Alexander Smirnov <alex.bluesman.smir...@gmail.com>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to