Permalink
Browse files

removed verbose conditional

  • Loading branch information...
1 parent c537048 commit fbe2fd0014993721d8d6a241fb288b0bdbb43b91 @kmullin kmullin committed Apr 23, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/automongobackup.sh
View
@@ -503,10 +503,8 @@ if [ "$MAILCONTENT" = "log" ]; then
fi
if [ -s "$LOGERR" ]; then
- if [ -s "$LOGERR" ]; then
- cat "$LOGERR"
- cat "$LOGERR" | mail -s "ERRORS REPORTED: Mongo Backup error Log for $HOST - $DATE" $MAILADDR
- fi
+ cat "$LOGERR"
+ cat "$LOGERR" | mail -s "ERRORS REPORTED: Mongo Backup error Log for $HOST - $DATE" $MAILADDR
fi
else
if [ -s "$LOGERR" ]; then

0 comments on commit fbe2fd0

Please sign in to comment.