summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/at/at.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/at/at.c b/usr.bin/at/at.c
index 3cc692d2824..12cce81c830 100644
--- a/usr.bin/at/at.c
+++ b/usr.bin/at/at.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: at.c,v 1.13 1997/06/17 20:48:04 kstailey Exp $ */
+/* $OpenBSD: at.c,v 1.14 1997/10/06 18:31:01 deraadt Exp $ */
/* $NetBSD: at.c,v 1.4 1995/03/25 18:13:31 glass Exp $ */
/*
@@ -73,7 +73,7 @@ enum { ATQ, ATRM, AT, BATCH, CAT }; /* what program we want to run */
/* File scope variables */
#ifndef lint
-static char rcsid[] = "$OpenBSD: at.c,v 1.13 1997/06/17 20:48:04 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: at.c,v 1.14 1997/10/06 18:31:01 deraadt Exp $";
#endif
char *no_export[] =
@@ -667,6 +667,7 @@ main(argc, argv)
if (!check_permission()) {
(void)fprintf(stderr, "You do not have permission to use %s.\n",
namep);
+ exit(EXIT_FAILURE);
}
/* select our program */