Skip to content

Commit 644eea8

Browse files
authored
Refinement of the run function in app.py (#148)
1 parent 5ae340c commit 644eea8

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

Diff for: testgres/plugins/pg_probackup2/pg_probackup2/app.py

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

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

0 commit comments

Comments
 (0)