From d64ff03cb9bc40a8da1d2c6bd41f552e4bcb84f9 Mon Sep 17 00:00:00 2001 From: Alexander van der Grinten Date: Sat, 29 May 2021 11:08:19 +0200 Subject: [PATCH] Fix mistake in e30cc9d (missing dev_overlays) --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 119c0e3..97bb633 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,6 +82,7 @@ fn run_init(cfg: &Config) -> ! { // Perform mounts of /dev, /dev/pts, /dev/shm, /run and /tmp. + let dev_overlays = vec!["tty", "null", "zero", "full", "random", "urandom"]; for f in dev_overlays { nix::mount::mount( Some(&Path::new("/dev/").join(f)),