Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
aspect committed Jul 26, 2024
1 parent 7ed63a3 commit 9df0ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kaspad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ pub fn reconfigure(ctx: &Context, force: bool) -> Result<()> {
for config in inactive_configs(ctx) {
let service_name = config.service_name();
if systemd::exists(config) {
if systemd::is_active(&config.service_name())? {
if systemd::is_active(config.service_name())? {
step(format!("Bringing down '{}'", service_name), || {
systemd::stop(config)
})?;
Expand Down

0 comments on commit 9df0ce5

Please sign in to comment.