aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 0112f34..839210a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -125,6 +125,10 @@ fn main() -> ExitCode {
.fstype("tmpfs")
.mount("tmpfs", "/tmp")
.expect("can't mount /tmp tmpfs");
+ let _run_handle = Mount::builder()
+ .fstype("tmpfs")
+ .mount("tmpfs", "/run")
+ .expect("canÄt mount /run tmpfs");
if process::id() != 1 {
match stdout.set_color(ColorSpec::new().set_fg(Some(Color::Red))) {