aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authornotgne22020-12-30 20:25:59 -0700
committernotgne22020-12-30 20:25:59 -0700
commitb6a6abe104d348ba696054c930a3dafe0edf8d00 (patch)
tree5a4c33ddabe6d6efc46b6aca4594ed3587b80bf1 /src/main.rs
parent40d71ccdd715c6008de1a0bb97ed11282a8fe61c (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.rs6
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())?;