aboutsummaryrefslogtreecommitdiff
path: root/src/activate.rs
diff options
context:
space:
mode:
authornotgne22020-11-02 15:07:24 -0700
committernotgne22020-11-02 15:07:24 -0700
commit53f4e752442718caf7786aba7e934118488d89b4 (patch)
tree206e151f5196e6f61f07964c169b82139816ad9a /src/activate.rs
parent3afb61665d57fe14a4045bd8678690c82256f9f3 (diff)
Mildly improve logging
Diffstat (limited to '')
-rw-r--r--src/activate.rs3
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
{