Ver Fonte

Make sure stuff actually gets sent

Samuel W. Flint há 9 meses atrás
pai
commit
9d83383209
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      notify-job

+ 1 - 3
notify-job

@@ -33,9 +33,7 @@ COMMAND=$@
 ADDRESS=${ADDRESS}
 EOF
 
-cat ${MESSAGE_FILE}
-
-echo mail -s "Your Job is Complete" -a ${OUTPUT_FILE} "${ADDRESS}" < ${MESSAGE_FILE}
+mail -s "Your Job is Complete" -a ${OUTPUT_FILE} "${ADDRESS}" < ${MESSAGE_FILE}
 
 
 rm ${MESSAGE_FILE}