diff options
author | notgne2 | 2020-11-02 15:07:24 -0700 |
---|---|---|
committer | notgne2 | 2020-11-02 15:07:24 -0700 |
commit | 53f4e752442718caf7786aba7e934118488d89b4 (patch) | |
tree | 206e151f5196e6f61f07964c169b82139816ad9a /src/activate.rs | |
parent | 3afb61665d57fe14a4045bd8678690c82256f9f3 (diff) |
Mildly improve logging
Diffstat (limited to '')
-rw-r--r-- | src/activate.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/activate.rs b/src/activate.rs index a500a32..ae9e814 100644 --- a/src/activate.rs +++ b/src/activate.rs @@ -81,7 +81,7 @@ pub enum DeactivateError { } pub async fn deactivate(profile_path: &str) -> Result<(), DeactivateError> { - error!("De-activating due to error"); + warn!("De-activating due to error"); let nix_env_rollback_exit_status = Command::new("nix-env") .arg("-p") @@ -367,6 +367,7 @@ pub async fn activate( info!("Activation succeeded!"); if magic_rollback { + info!("Magic rollback is enabled, setting up confirmation hook..."); match activation_confirmation(profile_path.clone(), temp_path, confirm_timeout, closure) .await { |