mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-20 22:50:38 +00:00
unset current dir for safekeeper
This commit is contained in:
committed by
Anastasia Lubennikova
parent
c785a516aa
commit
2ea4117903
@@ -129,9 +129,6 @@ fn main() -> anyhow::Result<()> {
|
||||
logging::init(LogFormat::from_config(&args.log_format)?)?;
|
||||
info!("version: {GIT_VERSION}");
|
||||
|
||||
// Change into the data directory.
|
||||
std::env::set_current_dir(&args.datadir)?;
|
||||
|
||||
// Set or read our ID.
|
||||
let id = set_id(&args.datadir, args.id.map(NodeId))?;
|
||||
if args.init {
|
||||
|
||||
Reference in New Issue
Block a user