File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ bool perm_slot = false;
88
88
/* backup options */
89
89
bool backup_logs = false;
90
90
bool smooth_checkpoint ;
91
- char * remote_agent ;
91
+ bool remote_agent = false ;
92
92
static char * backup_note = NULL ;
93
93
/* catchup options */
94
94
static char * catchup_source_pgdata = NULL ;
@@ -361,6 +361,7 @@ main(int argc, char *argv[])
361
361
elog (ERROR , "Version mismatch, pg_probackup binary with version '%s' "
362
362
"is launched as an agent for pg_probackup binary with version '%s'" ,
363
363
PROGRAM_VERSION , argv [2 ]);
364
+ remote_agent = true;
364
365
fio_communicate (STDIN_FILENO , STDOUT_FILENO );
365
366
return 0 ;
366
367
case HELP_CMD :
Original file line number Diff line number Diff line change @@ -798,7 +798,7 @@ extern bool perm_slot;
798
798
extern bool smooth_checkpoint ;
799
799
800
800
/* remote probackup options */
801
- extern char * remote_agent ;
801
+ extern bool remote_agent ;
802
802
803
803
extern bool exclusive_backup ;
804
804
You can’t perform that action at this time.
0 commit comments