summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles <neologix@free.fr>2008-03-09 19:52:29 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-09 19:52:29 +0100
commitad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25 (patch)
treebfa3a33a2da830ba7ec890a99de7c0792ab66c62
parentacc63121ac94ce50495213636b66cf0667c359ff (diff)
downloadsamba-ad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25.tar.gz
samba-ad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25.tar.bz2
samba-ad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25.zip
Fix return code.
(This used to be commit 98b643366044f471ad69c9e5aac06022f30742d9)
-rw-r--r--source3/utils/smbget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c
index 1b916c8563..e8fd6be6e6 100644
--- a/source3/utils/smbget.c
+++ b/source3/utils/smbget.c
@@ -319,7 +319,7 @@ static int smb_download_file(const char *base, const char *name, int recursive,
fprintf(stderr, "Can't open %s : %s\n", newpath,
strerror(errno));
smbc_close(remotehandle);
- return 1;
+ return 0;
}
/* no offset */
} else if(!send_stdout) {