Commit 4545c412 authored by clewsy's avatar clewsy
Browse files

Initialise TALLY of successful pings. Without init returns null instead of 0...

Initialise TALLY of successful pings.  Without init returns null instead of 0 when no pings are successful.
parent 2bc1b647
......@@ -99,6 +99,7 @@ while read -r LINE ; do ## Iterate for every line in the system list.
done < "${REM_SYS_LIST}"
## Loop through the remote system list.
TALLY=0 ## Initialise the tally of successful pings.
echo -e "\n────────────────────Pinging────────────────────" > ${DEST}
while read -r REM_SYS; do ## Loop to repeat commands for each file name entry in the backup file list ($BU_FILE_LIST)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment