Fix return code of open which was always 1.

This commit is contained in:
Andreas Schneider 2008-06-16 16:41:19 +02:00
parent 9c9faebd0e
commit 0eb0842e0a

View File

@ -114,7 +114,6 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
rc = 1;
}
CSYNC_LOG(CSYNC_LOG_PRIORITY_ERROR, "file: %s, command: open, error: %s", suri, strerror(errno));
rc = 1;
goto out;
}