Fix bug where passing -w to pg-upgrade aborted the process
If user passed -w
, we set options[:wait] = false
. So, status
will have a nil
value (because the conditional is not satisfied). This triggers the unless status
statement below, thus aborting the process.