Changes

From SME Server
Jump to navigationJump to search
m
Line 77: Line 77:  
  #If an error occurs during download then an email will be sent via the mail program and then will exit.
 
  #If an error occurs during download then an email will be sent via the mail program and then will exit.
 
  [ $? -gt 0 ] && echo "See /var/log/blacklists_dl.log on" \
 
  [ $? -gt 0 ] && echo "See /var/log/blacklists_dl.log on" \
  `uname -n` |/bin/mail -s'Blacklist DL Error' email@somewhere.com&& exit 1
+
  `uname -n` |/bin/mail -s'Blacklist DL Error' email@somewhere.com && exit 1
 
  tar -zxf blacklists.tar.gz
 
  tar -zxf blacklists.tar.gz
 
  chown -R root.root blacklists
 
  chown -R root.root blacklists
50

edits

Navigation menu