[Top][All Lists]

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

Re: `du` check for directory loop avoidance

From: Eric Blake
Subject: Re: `du` check for directory loop avoidance
Date: Wed, 18 Dec 2013 10:39:26 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

On 12/18/2013 09:46 AM, Jeff Kirkpatrick wrote:
> However, I don't see explicit reasons for the non-zero exit code. If you
> want to ask for the reason, you may write an emailto address@hidden."
> Can anyone elaborate on why the decision to use a non-zero exit code?

Because POSIX requires a non-zero exit code any time an error message is
output, including when a directory is skipped due to a directory loop.

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]