diff options
| author | Xe Iaso <me@christine.website> | 2022-03-21 20:26:02 -0400 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-03-21 20:26:02 -0400 |
| commit | 7e6090274a835fb3e020f139d1f212de09f94550 (patch) | |
| tree | 6041877da6a6d16ce64a48d1271b4904c9af4bdb /src | |
| parent | 8b747c1c40876c6668191594eddcb260199cdb7f (diff) | |
| download | xesite-7e6090274a835fb3e020f139d1f212de09f94550.tar.xz xesite-7e6090274a835fb3e020f139d1f212de09f94550.zip | |
lol oops
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index c6dc33f..66071eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -229,6 +229,7 @@ async fn main() -> Result<()> { match std::env::var("SOCKPATH") { Ok(sockpath) => { + let _ = std::fs::remove_file(&sockpath); let uds = UnixListener::bind(&sockpath)?; axum::Server::builder(ServerAccept { uds }) .serve(app.into_make_service_with_connect_info::<UdsConnectInfo, _>()) |
