Fix bug #7069 - smbget does not return an error status after some errors
commit8a6058bdf493204eac4ff9d50234caa4bc1edc1b
authorJeremy Allison <jra@samba.org>
Thu, 28 Jan 2010 18:38:24 +0000 (28 10:38 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 10 Feb 2010 10:08:37 +0000 (10 11:08 +0100)
tree2eeb0c26cfa248d012d07d350fc77e546a4f9f49
parent6e04a25778e83a8347c0b4dd64f2a22abe819445
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.
(cherry picked from commit f387ed88e8b5b32eb121724d99d73d8ce55e745e)
(cherry picked from commit 23408bb31b0ca690a5e7a3dffa798075cab265ad)
source3/utils/smbget.c