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

testgres/plugins/pg_probackup2/pg_probackup2/app.py

Lines changed: 2 additions & 0 deletions
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)
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