Fix jq args.

This commit is contained in:
redxef 2022-11-22 00:11:24 +01:00
parent ec8c0126e3
commit 982bf1944e
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -69,10 +69,10 @@ get_command() {
jq -r '.params.command // ["true"]' < "$INPUT_PATH" | jq -r '.[]' | tr '\n"' " '"
}
get_stderr_file() {
jq -r '.params.stderr_file // "-"' | jq -r tostring
jq -r '.params.stderr_file // "-"' < "$INPUT_PATH"
}
get_stdout_file() {
jq -r '.params.stdout_file // "-"' | jq -r tostring
jq -r '.params.stdout_file // "-"' < "$INPUT_PATH"
}
HOSTNAME="$(get_hostname)"