Sfoglia il codice sorgente

Make sure stuff actually gets sent

Samuel W. Flint 9 mesi fa
parent
commit
9d83383209
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  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}