fix: Unable to use SHELL with podman, encapsulate commands in /bin/bash -c
This commit is contained in:
parent
189141924b
commit
ae9c3ef83a
3 changed files with 13 additions and 11 deletions
|
|
@ -75,10 +75,12 @@ impl<'a> Module<'a> {
|
|||
|
||||
#[must_use]
|
||||
pub fn print_module_context(&'a self) -> String {
|
||||
serde_json::to_string(self).unwrap_or_else(|e| {
|
||||
error!("Failed to parse module!!!!!: {e}");
|
||||
process::exit(1);
|
||||
})
|
||||
serde_json::to_string(self)
|
||||
.unwrap_or_else(|e| {
|
||||
error!("Failed to parse module!!!!!: {e}");
|
||||
process::exit(1);
|
||||
})
|
||||
.replace('"', r#"\""#)
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue