diff --git a/ccollect.sh b/ccollect.sh index 5cd5533..4845a06 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -408,7 +408,7 @@ while [ "$i" -lt "$no_sources" ]; do "$source" "$abs_destination_dir" if [ "$?" -ne 0 ]; then - echo "rsync reported an error. The backup may be broken (see rsync errors)" + echo "rsync reported error $?. The backup may be broken (see rsync errors)" fi echo "$($DDATE) Finished backup"