File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,7 @@ remote_backup_files(void *arg)
383
383
if (S_ISDIR (file -> mode ))
384
384
continue ;
385
385
386
- if (pg_atomic_test_set_flag (& file -> lock ))
386
+ if (! pg_atomic_test_set_flag (& file -> lock ))
387
387
continue ;
388
388
389
389
file_backup_conn = pgut_connect_replication (pgut_dbname );
Original file line number Diff line number Diff line change @@ -710,7 +710,7 @@ restore_files(void *arg)
710
710
char * rel_path ;
711
711
pgFile * file = (pgFile * ) parray_get (arguments -> files , i );
712
712
713
- if (pg_atomic_test_set_flag (& file -> lock ))
713
+ if (! pg_atomic_test_set_flag (& file -> lock ))
714
714
continue ;
715
715
716
716
pgBackupGetPath (arguments -> backup , from_root ,
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ pgBackupValidateFiles(void *arg)
139
139
struct stat st ;
140
140
141
141
pgFile * file = (pgFile * ) parray_get (arguments -> files , i );
142
- if (pg_atomic_test_set_flag (& file -> lock ))
142
+ if (! pg_atomic_test_set_flag (& file -> lock ))
143
143
continue ;
144
144
145
145
if (interrupted )
You can’t perform that action at this time.
0 commit comments