This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getfacl returns 0 if no file found


On Nov 10 10:07, aputerguy wrote:
> 
> This is inconsistent with Linux treatment  - is that what we want?
> Because it would be good to be able to trap this as an error.
> 
> $ getfacl sfdsfdsfdsf
> getfacl: sfdsfdsfdsf: No such file or directory
> $ echo $?
> 0 (cygwin)
> 1 (linux)

2 (solaris).  Since getfacl is based on the Solaris tool, I'll implement
that return code.  1 is returned for usage errors.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]