From b8a8b0e9103ac3a51f70f0e79b035f5c8f3b42b6 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 5 Jun 2005 21:05:31 +0000 Subject: use $fd not $fout --- packages/spamd.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/spamd.xml b/packages/spamd.xml index 24241485..75470613 100644 --- a/packages/spamd.xml +++ b/packages/spamd.xml @@ -152,8 +152,8 @@ system("/usr/libexec/spamlogd 2>/dev/null &"); $fd = fopen("/usr/local/etc/rc.d/spamd","w"); fwrite($fd, "#!/bin/sh\n\n"); - fwrite($fout, "# PACKAGE: STunnel\n"); - fwrite($fout, "# EXECUTABLE: stunnel\n"); + fwrite($fd, "# PACKAGE: STunnel\n"); + fwrite($fd, "# EXECUTABLE: stunnel\n"); fwrite($fd, "/usr/bin/killall spamd-setup 2>/dev/null\n"); fwrite($fd, "/usr/local/sbin/spamd-setup &\n"); fwrite($fd, "/usr/local/libexec/spamlogd &\n"); -- cgit v1.2.3