Skip to content

Commit 210997a

Browse files
committed
refactor: fix function signal for dummy watchdog used on non linux targets
Signed-off-by: Reuben Miller <reuben.d.miller@gmail.com>
1 parent 379e1dd commit 210997a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
use std::path::PathBuf;
2+
13
pub async fn start_watchdog(_config_dir: PathBuf) -> Result<(), anyhow::Error> {
2-
anyhow::Error::from(crate::error::WatchdogError::WatchdogNotAvailable)
4+
Err(anyhow::Error::from(
5+
crate::error::WatchdogError::WatchdogNotAvailable,
6+
))
37
}

0 commit comments

Comments
 (0)