mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Set a proper error message on in-between-changes.
This commit is contained in:
parent
d098a12321
commit
a5de9994ec
1 changed files with 3 additions and 1 deletions
|
@ -291,8 +291,10 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
|||
st->size != vst->size) {
|
||||
/* The size or modtime has changed. Skip this file copy for now. */
|
||||
rc = 1; /* soft problem */
|
||||
SAFE_FREE(st->error_string);
|
||||
st->error_string = c_strdup("File was updated meantime, publish next time.");
|
||||
CSYNC_LOG(CSYNC_LOG_PRIORITY_DEBUG,
|
||||
"Source file has changed since update run, SKIP it for now.");
|
||||
"Source file %s has changed since update run, SKIP it for now.", suri);
|
||||
goto out;
|
||||
}
|
||||
csync_vio_file_stat_destroy(vst);
|
||||
|
|
Loading…
Reference in a new issue