Help with simple script copy multiple folder and exit code

same...

2023/03/13 06:57:49 DEBUG : rclone: Version "v1.61.1" starting with parameters ["/share/homes/admin/rclone" "copy" "/share" "remote:/bck-rclone2/current/" "--include-from=/share/homes/admin/list.txt" "--backup-dir" "remote:/bck-rclone2/folders/2023-03-13__06-57-48/" "-vv" "--log-file=/share/homes/admin/script_bck_rclone2.log" "--bwlimit=2M"]
2023/03/13 06:57:49 DEBUG : Creating backend with remote "/share"
2023/03/13 06:57:49 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2023/03/13 06:57:49 DEBUG : Creating backend with remote "remote:/bck-rclone2/current/"
2023/03/13 06:57:50 DEBUG : fs cache: renaming cache item "remote:/bck-rclone2/current/" to be canonical "remote:bck-rclone2/current"
2023/03/13 06:57:50 DEBUG : Creating backend with remote "remote:/bck-rclone2/folders/2023-03-13__06-57-48/"
2023/03/13 06:57:51 DEBUG : fs cache: renaming cache item "remote:/bck-rclone2/folders/2023-03-13__06-57-48/" to be canonical "remote:bck-rclone2/folders/2023-03-13__06-57-48"
2023/03/13 06:57:51 DEBUG : .proftpd.fifo: Excluded
2023/03/13 06:57:51 DEBUG : CACHEDEV1_DATA: Excluded
2023/03/13 06:57:51 DEBUG : external: Excluded
2023/03/13 06:57:51 DEBUG : HDZ_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDY_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDX_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDW_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDV_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDU_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDT_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDS_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDR_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDQ_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDP_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDO_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDN_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDM_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDL_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDK_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDJ_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDI_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDH_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDG_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDF_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDE_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDD_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDC_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDB_DATA: Excluded
2023/03/13 06:57:51 DEBUG : HDA_DATA: Excluded
2023/03/13 06:57:51 DEBUG : Google drive root 'bck-rclone2/current': Waiting for checks to finish
2023/03/13 06:57:51 DEBUG : Google drive root 'bck-rclone2/current': Waiting for transfers to finish
2023/03/13 06:57:51 INFO  : There was nothing to transfer
2023/03/13 06:57:51 INFO  :
Transferred:              0 B / 0 B, -, 0 B/s, ETA -
Elapsed time:         2.7s

if i use this script

#!/bin/bash
REMOTE=remote:/bck-rclone
DEST_DATE=`date +%Y-%m-%d__%H-%M-%S`/
LOG=/share/homes/admin/script_bck_rclone.log
BWLIMIT=2M
FOLDER1=folder1
/share/homes/admin/rclone copy /share/$FOLDER1/ $REMOTE/$FOLDER1/current/ --backup-dir $REMOTE/$FOLDER1/$DEST_DATE -v --log-file=$LOG --bwlimit=$BWLIMIT
if [[ $? -ne 0 ]]; then
FOLDER2=folder2
/share/homes/admin/rclone copy /share/$FOLDER2/ $REMOTE/$FOLDER2/current/ --backup-dir $REMOTE/$FOLDER2/$DEST_DATE -v --log-file=$LOG --bwlimit=$BWLIMIT
if [[ $? -ne 0 ]]; then
wget --no-check-certificate https://hc-ping.com/<id>/$? -T 10 -t 5 -O /dev/null
fi
fi
exit

so if i have exit code 0 on first "copy" switch to second (of course indeed i use ten if)
and when the last finish with exit code 0 send to healthcheck
is not clean but seems my limit ...

thank you