瀏覽代碼

This aint the way to have fun, son.

Chris McDonough 17 年之前
父節點
當前提交
98db8e896f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/supervisor/memmon.py

+ 1 - 1
src/supervisor/memmon.py

@@ -147,7 +147,7 @@ def restart(rpc, name, sendmail, email, rss):
             name, time.asctime(), rss)
             )
         subject = 'memmon: process %s restarted' % name
-        mail(sendmail, subject, email, msg, rss)
+        mail(sendmail, subject, email, msg)
 
 def mail(sendmail, subject, to, message):
     m = os.popen('%s -t -i' % sendmail, 'w')