Potential fix to #1626. Fixed typo is Makefile. (#1781)

* Potential fix to #1626. Fixed typo is Makefile.
* Completed fix to #1626.

Summary:
changed 'error' to 'bail' in start_pageserver and start_safekeeper.
This commit is contained in:
KlimentSerafimov
2022-05-24 04:55:38 -04:00
committed by Kliment Serafimov
parent f12fa69c9f
commit a3238cd69d

View File

@@ -245,7 +245,7 @@ fn start_safekeeper(mut conf: SafeKeeperConf, given_id: Option<ZNodeId>, init: b
// Otherwise, the coverage data will be damaged.
match daemonize.exit_action(|| exit_now(0)).start() {
Ok(_) => info!("Success, daemonized"),
Err(e) => error!("Error, {}", e),
Err(err) => bail!("Error: {err}. could not daemonize. bailing."),
}
}