mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Propagate: Change temp file name
.. to something already in the exclude list
This commit is contained in:
parent
885e073b8a
commit
42b090ec0d
@ -189,7 +189,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
|
||||
|
||||
if (_push_to_tmp_first(ctx)) {
|
||||
/* create the temporary file name */
|
||||
if (asprintf(&turi, "%s.XXXXXX", duri) < 0) {
|
||||
if (asprintf(&turi, "%s.~XXXXXX", duri) < 0) {
|
||||
rc = -1;
|
||||
goto out;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user