mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 15:16:29 +00:00
As it seems redirecting stderr to stdin (2>&1) when executing system commands results in a SIGPIPE (141) return code, making it impossible to determine the actual return code, redirect stderr to a temporary file and collate the output from that. There are possibly better ways of doing this which could be revisited at a future date.
9.8 KiB
9.8 KiB