Skip to content

Commit 203ceaf

Browse files
committed
Fix missing ret_code check
1 parent 4913788 commit 203ceaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

decoding.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,8 +1266,8 @@ function decoding_daemon() {
12661266

12671267
### The noise lines created at the end of each wspr cycle can be queued immediately here for upload to logs.wsprdemon.org
12681268
local wsprdaemon_noise_queue_directory
1269-
get_wsprdaemon_noise_queue_directory wsprdaemon_noise_queue_directory ${receiver_name} ${receiver_band}
1270-
local ret_code
1269+
get_wsprdaemon_noise_queue_directory "wsprdaemon_noise_queue_directory" ${receiver_name} ${receiver_band}
1270+
ret_code=$?
12711271
if [[ ${ret_code} -ne 0 ]]; then
12721272
wd_logger 1 "ERROR: can't get noise file queue directory 'get_wsprdaemon_noise_queue_directory wsprdaemon_noise_queue_directory ${receiver_name} ${receiver_band}' => ${ret_code}"
12731273
return ${ret_code}

0 commit comments

Comments
 (0)