Skip to content

Commit

Permalink
fix HC script
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Aug 28, 2023
1 parent d02ec16 commit 5fefdce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rootfs/scripts/healthcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ function get_pid_of_decoder {
unset SOAPYSDR ACARS_BIN FREQ_STRING

# Get SOAPYSDR
eval "$(grep "SOAPYSDR=\"" "$service_dir"/run)"
eval "$(grep "SOAPYSDR=\"" "$service_dir")"

# Get FREQS_ACARS
eval "$(grep "FREQ_STRING=\"" "$service_dir"/run)"
eval "$(grep "FREQ_STRING=\"" "$service_dir")"

# Get ACARS_BIN
eval "$(grep "ACARS_BIN=\"" "$service_dir"/run)"
eval "$(grep "ACARS_BIN=\"" "$service_dir")"

# Get PS output for the relevant process
if [[ -n "$ACARS_BIN" ]]; then
Expand Down

0 comments on commit 5fefdce

Please sign in to comment.