diff --git a/ccollect.sh b/ccollect.sh index f955e47..fb3278f 100755 --- a/ccollect.sh +++ b/ccollect.sh @@ -391,6 +391,10 @@ while [ "$i" -lt "$no_shares" ]; do echo "$(date) Executing $c_post_exec ..." "$c_post_exec" echo "$(date) Finished ${c_post_exec}." + + if [ $? -ne 0 ]; then + echo "$c_post_exec failed." + fi fi end_s=$(date +%s) @@ -421,6 +425,10 @@ if [ -x "$CPOSTEXEC" ]; then echo "Executing $CPOSTEXEC ..." "$CPOSTEXEC" echo "Finished ${CPOSTEXEC}." + + if [ $? -ne 0 ]; then + echo "$CPOSTEXEC failed." + fi fi rm -f "$TMP" diff --git a/doc/TODO b/doc/TODO index 0ced543..2b8ba1f 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,6 +1,8 @@ - Test pax http://www.opengroup.org/onlinepubs/009695399/utilities/pax.html Perhaps replace cp -al? + + --> WRITE DOCU / update to use pax - update documentation: - german doc?