Skip to content

Commit

Permalink
Merge branch 'qa-fix-haproxy'
Browse files Browse the repository at this point in the history
  • Loading branch information
natoscott committed Sep 14, 2023
2 parents a3dbdb8 + 2c2e582 commit fcdbee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmdas/haproxy/connect
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if config.has_section('pmda'):
sys.exit(1)

if len(sys.argv) > 1 and (sys.argv[1] == '-c' or sys.argv[1] == '--config'):
sys.stdout.write("user=%s\nsocket=%s\nurl=%s\n" % (user, skt, url.replace(";", "\;").replace("&", "\&")))
sys.stdout.write("user=%s\nsocket=%s\nurl=%s\n" % (user, skt, url.replace(";", "\\;").replace("&", "\\&")))
sys.exit(0)

try:
Expand Down

0 comments on commit fcdbee0

Please sign in to comment.