Hi Arthur,

> Open nohup.out write-only instead of not specifying the access permissions
> instead of getting undefined behavior (which probably results in stdout
> not being writable).
> 
> -             if ((fd = open("nohup.out", O_APPEND | O_CREAT, S_IRUSR | 
> S_IWUSR)) < 0)
> +             if ((fd = open("nohup.out", O_WRONLY | O_APPEND | O_CREAT, 
> S_IRUSR | S_IWUSR)) < 0)

Thanks for the patch, it's valid and Michael should merge it when he's
got time.

Reply via email to