Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
rad-auth: Add warning for when ssh-agent is not running
Browse files Browse the repository at this point in the history
Signed-off-by: xphoniex <[email protected]>
  • Loading branch information
xphoniex authored and cloudhead committed Oct 20, 2022
1 parent 9fa2cf8 commit e2bbf2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion auth/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,10 @@ pub fn authenticate(
} else {
term::success!("Signing key already in ssh-agent");
}
}
} else {
term::warning("Radicle key won't be added to ssh-agent since it's not running.");
term::blank();
};

Ok(())
}
Expand Down

0 comments on commit e2bbf2f

Please sign in to comment.