Streamline command runner a bit
This commit is contained in:
parent
ddf645e19e
commit
0a6b6efd7a
2 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue