Skip to content

Commit

Permalink
fix: use path seperator
Browse files Browse the repository at this point in the history
  • Loading branch information
iahmadgad committed Dec 7, 2024
1 parent ad26b08 commit 97cd003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/alarm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl Alarm {
.status()
.expect("Failed to check if crond is running");
if !check_crond.success() {
Command.new("crond").output();
Command::new("crond").output();
}
self.days = Some(d.iter().map(|x| x - 1 ).collect());
cron::schedule_alarm_command(self)
Expand All @@ -94,7 +94,7 @@ impl Alarm {
.status()
.expect("Failed to check if atd is running");
if !check_crond.success() {
Command.new("atd").output();
Command::new("atd").output();
}
at::schedule_alarm_command(self)
},
Expand Down

0 comments on commit 97cd003

Please sign in to comment.