fix(ServiceManager): add sentinel to argument serialization in exec definition
This commit is contained in:
parent
2717104dc4
commit
bca1cb7168
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ function serialize_exec_definition() {
|
|||
done
|
||||
|
||||
local args_json
|
||||
args_json=$(printf '%s\0' "${rel_args[@]}" | jq -R -s 'split("\u0000")[:-1]')
|
||||
args_json=$(printf '%s\0' "${rel_args[@]}" "__AC_SENTINEL__" | jq -R -s 'split("\u0000")[:-1]')
|
||||
|
||||
jq -n --arg command "$rel_command" --argjson args "$args_json" '{command: $command, args: $args}'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue