summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/sendmail/aux/vacation.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr/src/cmd/sendmail/aux/vacation.c b/usr/src/cmd/sendmail/aux/vacation.c
index d1f3675985..5a0f93756d 100644
--- a/usr/src/cmd/sendmail/aux/vacation.c
+++ b/usr/src/cmd/sendmail/aux/vacation.c
@@ -17,12 +17,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-#ifndef lint
-static char SccsId[] = "%W% %E% SMI";
-#endif /* not lint */
-
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
@@ -763,9 +757,10 @@ sendmessage(msgf, user, myname)
if (f == NULL)
{
f = fopen("/etc/mail/vacation.def", "r");
- if (f == NULL)
+ if (f == NULL) {
usrerr("No message to send");
exit(EX_OSFILE);
+ }
}
if (pipe(pipefd) < 0) {