|
63 | 63 | ### rsc config --full
|
64 | 64 | ### rsc log
|
65 | 65 | ###
|
66 |
| -### Version: 0.16.0-9003 |
| 66 | +### Version: 0.16.0-9004 |
67 | 67 | ### Copyright: Henrik Bengtsson (2022-2024) and Harry Putnam (2022)
|
68 | 68 | ### License: ISC
|
69 | 69 |
|
@@ -389,7 +389,7 @@ function remove_stray_pid_file {
|
389 | 389 | warn_if_check_pid_needs_ssh "${rserver_hostname}"
|
390 | 390 | mapfile -t res < <(check_pid "${pid}" "${rserver_hostname}" 2>&1)
|
391 | 391 | okay=$?
|
392 |
| - mdebug " - check_pid('${pid}', '${rserver_hostname}') exit code: ${okay}, output='${res[*]}'" |
| 392 | + mdebug " - check_pid('${pid}', '${rserver_hostname}') exit code: ${okay}, output='$(printf "%q" "${res[*]}")'" |
393 | 393 | relay_condition "${res[@]}"
|
394 | 394 | mapfile -t res < <(prune_debug "${res[@]}")
|
395 | 395 |
|
@@ -686,10 +686,11 @@ function rs_process_status {
|
686 | 686 | warn_if_check_pid_needs_ssh "${hostname}"
|
687 | 687 | mapfile -t res < <(check_pid "${pid}" "${rserver_hostname}" 2>&1)
|
688 | 688 | okay=$?
|
689 |
| - mdebug " - check_pid('${pid}', '${rserver_hostname}') exit code: ${okay}, output='${res[*]}'" |
| 689 | + mdebug " - check_pid('${pid}', '${rserver_hostname}') exit code: ${okay}, output='$(printf "%q" "${res[*]}")'" |
690 | 690 | mapfile -t res < <(prune_debug "${res[@]}")
|
691 |
| - mdebug " - prune_debug(): ${res[*]}" |
| 691 | + mdebug " - prune_debug(): '$(printf "%q" "${res[*]}")'" |
692 | 692 | if [[ -n "${res[0]}" ]]; then
|
| 693 | + mdebug " - pid='$(printf "%q" "${res[0]}")'" |
693 | 694 | pid="${res[0]}"
|
694 | 695 | else
|
695 | 696 | pid=0
|
|
0 commit comments