Eric Blake wrote:
> --- a/src/rmdir.c
> +++ b/src/rmdir.c
> @@ -74,7 +74,7 @@ static struct option const longopts[] =
>  static bool
>  errno_rmdir_non_empty (int error_number)
>  {
> -  return (error_number == RMDIR_ERRNO_NOT_EMPTY);
> +  return error_number == ENOTEMPTY || error_number == EEXIST;
>  }

I agree with this as I can't see EEXIST ever
being returned for another case.

cheers,
Pádraig.


Reply via email to