]> granicus.if.org Git - fcron/commitdiff
added a #ifdef SENDMAIL to be able to run without sendmail
authorthib <thib>
Fri, 17 Aug 2001 19:50:08 +0000 (19:50 +0000)
committerthib <thib>
Fri, 17 Aug 2001 19:50:08 +0000 (19:50 +0000)
subs.c

diff --git a/subs.c b/subs.c
index 829e7ad520b118b34978b84ecb21d9dc6781b78c..2fca3ba759ea29fbeee7d767379d409c924a7319 100644 (file)
--- a/subs.c
+++ b/subs.c
@@ -22,7 +22,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: subs.c,v 1.14 2001-07-09 11:50:13 thib Exp $ */
+ /* $Id: subs.c,v 1.15 2001-08-17 19:50:08 thib Exp $ */
 
 #include "global.h"
 #include "subs.h"
@@ -144,7 +144,9 @@ init_conf(void)
     fcronallow = strdup2(ETC "/" FCRON_ALLOW);
     fcrondeny = strdup2(ETC "/" FCRON_DENY);
     shell = strdup2(SHELL);
+#ifdef SENDMAIL
     sendmail = strdup2(SENDMAIL);
+#endif
     editor = strdup2(EDITOR);
 }