1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-24 19:07:23 +01:00

need my new email_validator library during questions

This commit is contained in:
Joshua Tauberer
2015-05-03 14:44:37 +00:00
parent 1b2d07d81d
commit 1f08997a9e
3 changed files with 12 additions and 2 deletions

View File

@@ -9,13 +9,15 @@ function hide_output {
$@ &> $OUTPUT
# If the command failed, show the output that was captured in the temporary file.
if [ $? != 0 ]; then
E=$?
if [ $E != 0 ]; then
# Something failed.
echo
echo FAILED: $@
echo -----------------------------------------
cat $OUTPUT
echo -----------------------------------------
exit $E
fi
# Remove temporary file.