Skip to content

Commit 9366283

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

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ 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+
use_backup_dir = self.backup_dir.pb_args[2:]
78+
command = [command[0], *use_backup_dir, *command[1:]]
7679

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy