瀏覽代碼

Make sure stuff actually gets sent

Samuel W. Flint 9 月之前
父節點
當前提交
9d83383209
共有 1 個文件被更改,包括 1 次插入3 次删除
  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}