summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {