aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index edb800ad..58e2c766 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -323,6 +323,7 @@ fn notify_fd() -> anyhow::Result<()> {
Err(env::VarError::NotPresent) => return Ok(()),
Err(err) => return Err(err.into()),
};
+ env::remove_var("NOTIFY_FD");
let mut notif = unsafe { File::from_raw_fd(fd) };
notif.write_all(b"READY=1\n")?;
Ok(())