From 2d81e48acc334dba10c7607a2790a5c952490010 Mon Sep 17 00:00:00 2001
From: dd
Date: Tue, 1 Oct 2002 22:59:11 +0000
Subject: Actually use the exitstatus value that we maintain.
PR: 43562
Submitted by: Marc Olzheim
---
usr.sbin/cron/crontab/crontab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/cron/crontab/crontab.c b/usr.sbin/cron/crontab/crontab.c
index d070cd7..a347a9f 100644
--- a/usr.sbin/cron/crontab/crontab.c
+++ b/usr.sbin/cron/crontab/crontab.c
@@ -122,7 +122,7 @@ main(argc, argv)
case opt_unknown:
break;
}
- exit(0);
+ exit(exitstatus);
/*NOTREACHED*/
}
--
cgit v1.1