brew-postgresql-upgrade-database: abort upgrade if pg_upgrade fails
* Use dedicated safe_system to raise exception Closes #31175. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>master
parent
d647f1e2eb
commit
2507b57357
|
@ -65,7 +65,7 @@ begin
|
|||
initdb_run = true
|
||||
|
||||
(var/"log").cd do
|
||||
system "#{bin}/pg_upgrade",
|
||||
safe_system "#{bin}/pg_upgrade",
|
||||
"-r",
|
||||
"-b", old_bin,
|
||||
"-B", bin,
|
||||
|
|
Loading…
Reference in New Issue