Network share exit codes do not reflect the actual success or failure of a backup
This may be due to that am attempting to capture the exit code from the rsyncFunction which uses rsync in a for loop, this could cause difficulty. This should not be the case as $? holds the exit code of the last action as per http://www.tldp.org/LDP/abs/html/exit-status.html