diff options
author | notgne2 | 2020-12-30 20:25:59 -0700 |
---|---|---|
committer | notgne2 | 2020-12-30 20:25:59 -0700 |
commit | b6a6abe104d348ba696054c930a3dafe0edf8d00 (patch) | |
tree | 5a4c33ddabe6d6efc46b6aca4594ed3587b80bf1 /src/main.rs | |
parent | 40d71ccdd715c6008de1a0bb97ed11282a8fe61c (diff) |
Modify activation logic to keep SSH connection alive for magic-rollback and avoid forking or disconnecting std{out,err}
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 6783c40..1544fed 100644 --- a/src/main.rs +++ b/src/main.rs @@ -498,7 +498,11 @@ enum RunError { async fn run() -> Result<(), RunError> { let opts: Opts = Opts::parse(); - utils::init_logger(opts.debug_logs, opts.log_dir.as_deref(), false)?; + utils::init_logger( + opts.debug_logs, + opts.log_dir.as_deref(), + utils::LoggerType::Deploy, + )?; let deploy_flake = utils::parse_flake(opts.flake.as_str())?; |