aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-03-17 15:12:15 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-03-17 15:12:15 +0100
commitf9c73b520782a8fd058156136229aff20740e84b (patch)
treefcd8ae60fd250cc878e151ff69c041fd22ce4dcf
parent688293fd4dc9653bf1b3dd7dda1b20f0bdb5ab08 (diff)
create stdout in main fn
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 145dc36..cd1bd29 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -109,6 +109,8 @@ fn mount_or_halt(part_id: u8, mount_point: &str, fs: &str) {
}
fn main() -> ExitCode {
+ let mut stdout = StandardStream::stdout(ColorChoice::Always);
+
mount_or_halt(1, "/boot", "vfat");
mount_or_halt(4, "/data", "ext4");