diff options
| author | diogo464 <[email protected]> | 2025-07-11 14:59:49 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-07-11 14:59:49 +0100 |
| commit | 41705993247d95fe57927f41c659fbbc62ba9344 (patch) | |
| tree | a7a8c7b58e88a55dfebbafea5bdbe807392ce3fc /src | |
| parent | 85e2c67272d4b7494127d833c8f44eb9e3a11bd4 (diff) | |
fixed env var quoting when setting container variables
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 6237695..95c5073 100644 --- a/src/main.rs +++ b/src/main.rs | |||
| @@ -351,7 +351,9 @@ fn machine_containers_create_script(containers: &[ScheduledContainer]) -> String | |||
| 351 | script.push_str("\t-e "); | 351 | script.push_str("\t-e "); |
| 352 | script.push_str(key); | 352 | script.push_str(key); |
| 353 | script.push('='); | 353 | script.push('='); |
| 354 | script.push('\''); | ||
| 354 | script.push_str(val); | 355 | script.push_str(val); |
| 356 | script.push('\''); | ||
| 355 | script.push_str(" \\\n"); | 357 | script.push_str(" \\\n"); |
| 356 | } | 358 | } |
| 357 | script.push('\t'); | 359 | script.push('\t'); |
