Streamline command runner a bit

This commit is contained in:
Adrian Heine 2025-09-02 11:47:48 +02:00
parent ddf645e19e
commit 0a6b6efd7a
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ impl<C: AsRef<[u8]>, U: AsRef<str>, R: CommandRunner> Symbol for Cron<'_, C, U,
.run(
"crontab",
args!["-u", self.user.as_ref(), "-",],
self.content.as_ref(),
self.content.as_ref(), // input
)
.await,
)?;