mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Fix grep to find conninfo
it used to use \t* but [[:space:]] should be better as it does match more kind of spaces (the current one being broken in my case on RH7)
This commit is contained in:
@@ -5857,7 +5857,7 @@ get_barman_property(char *dst, char *name, char *local_repmgr_directory)
|
||||
initPQExpBuffer(&command_output);
|
||||
|
||||
maxlen_snprintf(command,
|
||||
"grep \"^\t%s:\" %s/show-server.txt",
|
||||
"grep \"^[[:space:]]%s:\" %s/show-server.txt",
|
||||
name, local_repmgr_tmp_directory);
|
||||
(void) local_command(command, &command_output);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user