Browse Source

Make sure stuff actually gets sent

Samuel W. Flint 9 months ago
parent
commit
9d83383209
1 changed files with 1 additions and 3 deletions
  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}