aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/activate.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/activate.rs b/src/activate.rs
index cc80876..f9c7e22 100644
--- a/src/activate.rs
+++ b/src/activate.rs
@@ -330,9 +330,7 @@ pub async fn activate(
{
Ok(()) => {}
Err(err) => {
- if auto_rollback {
- deactivate(&profile_path).await?;
- }
+ deactivate(&profile_path).await?;
return Err(ActivateError::ActivationConfirmationError(err));
}
};