Univention Bugzilla – Attachment #10058: redirecting from stdout to stderror for bug #49399
tdbbackup $file
Status=$?
if [ $Status -ne 0 ]; then
echo "Error while backing up $file with tdbbackup - status $Status"
>&2 echo "Error while backing up $file with tdbbackup - status $Status"
exit 1
fi
-