No error on unwritable output file

Paul Gilmartin via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
Trying to inject an error for a test, I did chmod a-w of my --output
file.  Curl exited with status 0.  I would have expected:
     curl: (23) Failure writing output to destination

... which I get if I run curl in a read-only directory.

-- 
Thanks,
gil
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.