Skip to content

Commit 2d2a156

Browse files
committed
Refinement of the run function in app.py
1 parent 569923a commit 2d2a156

File tree

1 file changed

+2
-0
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+2
-0
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/app.py

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ def run(self, command, gdb=False, old_binary=False, return_id=True, env=None,
7373
command = [command[0], *use_backup_dir.pb_args, *command[1:]]
7474
elif use_backup_dir:
7575
command = [command[0], *self.backup_dir.pb_args, *command[1:]]
76+
else:
77+
command = [command[0], *self.backup_dir.pb_args[2:], *command[1:]]
7678

7779
if not self.probackup_old_path and old_binary:
7880
logging.error('PGPROBACKUPBIN_OLD is not set')

0 commit comments

Comments
 (0)