Fix bug #7069 - smbget does not return an error status after some errors
commit155e8f1d39da7955e6998f0bf86b56da2a90ff03
authorJeremy Allison <jra@samba.org>
Thu, 28 Jan 2010 18:38:24 +0000 (28 10:38 -0800)
committerFernando J V da Silva <fernandojvsilva@yahoo.com.br>
Thu, 4 Feb 2010 19:09:49 +0000 (4 17:09 -0200)
tree6bd6a81d22b102cf38eadf028690a0f6ac9c0278
parenta8feda93d5cd331ed877e192864a4d9aab49f43c
Fix bug #7069 - smbget does not return an error status after some errors

A combination patch from Johannes Poehlmann <johannes@lst.de> and
Jeremy. Fix the return codes from smb_download_file() and smb_download_dir().

Jeremy.
source3/utils/smbget.c