diff --git a/src/main.rs b/src/main.rs index 4d99999..ea563b4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,6 +104,7 @@ fn main() { }; if !new_vars.is_empty() { + should_print = false; // Don't print all vars when setting new ones let no_overwrite = cli.no_overwrite; let (mut env_vars, original_lines) = match read_env_file(&cli.file) { Ok(result) => result,