Check status of final tar/compress package creation for final status (FS#3382)

This commit is contained in:
Aaron Griffin 2006-12-05 07:43:42 +00:00
parent f8b4b5257e
commit 5a48e4f1b6

View file

@ -880,6 +880,11 @@ else
fi fi
$cmd | sort >../filelist $cmd | sort >../filelist
if [ ${PIPESTATUS[0]} -gt 0 ]; then
error "Failed to create package file."
exit ${PIPESTATUS[0]}
fi
cd $startdir cd $startdir
if [ "$CLEANUP" = "1" ]; then if [ "$CLEANUP" = "1" ]; then
msg "Cleaning up..." msg "Cleaning up..."