diff options
author | Charles <neologix@free.fr> | 2008-03-09 19:52:29 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-03-09 19:52:29 +0100 |
commit | ad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25 (patch) | |
tree | bfa3a33a2da830ba7ec890a99de7c0792ab66c62 /source3 | |
parent | acc63121ac94ce50495213636b66cf0667c359ff (diff) | |
download | samba-ad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25.tar.gz samba-ad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25.tar.bz2 samba-ad7c3455ff28d3bb2ebcb9e5b1af00cc30cb6d25.zip |
Fix return code.
(This used to be commit 98b643366044f471ad69c9e5aac06022f30742d9)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/smbget.c | 2 |
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) { |