On Fri, Mar 14, 2014 at 03:49:43PM +0100, Markus Teich wrote:
> +                     if (stat (cmd, &st) == -1)
>                               return die (1, "lstat", "cannot stat program");
> -                     if (st.st_mode & 0222)
> +                     if (st.st_mode & 0022)
>                               return die (1, "stat", "cannot run writable 
> binaries.");

You should probably change "lstat" in the "die" call to reflect the
correct function name.

Eric

Reply via email to