We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2063a93 commit 23eafeaCopy full SHA for 23eafea
1 file changed
crates/paths/src/server.rs
@@ -49,6 +49,8 @@ impl ServerDataDir {
49
pidfile.file.set_len(0)?;
50
write!(pidfile.file, "{}", std::process::id())?;
51
pidfile.file.flush()?;
52
+ pidfile.file.sync_data()?;
53
+
54
Ok(pidfile)
55
}
56
0 commit comments