Re: getfacl returns 0 if no file found

2009-11-10 Thread aputerguy
Corinnna writes: > 2 (solaris). Since getfacl is based on the Solaris tool, I'll implement > that return code. 1 is returned for usage errors. Works for me - as long as I can trap it -- View this message in context: http://old.nabble.com/getfacl-returns-0-if-no

Re: getfacl returns 0 if no file found

2009-11-10 Thread Corinna Vinschen
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).

getfacl returns 0 if no file found

2009-11-10 Thread aputerguy
-returns-0-if-no-file-found-tp26287360p26287360.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http