summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/atrun.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-02-09 23:00:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-02-09 23:00:16 +0000
commit923e0b4768e0445e7d3273702a2440a31a01c237 (patch)
tree5c488f573adda708e5fce12132e88fc64979666b /usr.sbin/cron/atrun.c
parentbbf09057d1d30d8cd2cce9517c417ef641d91e55 (diff)
clean up flags++ instances around getopt()
ok florian
Diffstat (limited to 'usr.sbin/cron/atrun.c')
-rw-r--r--usr.sbin/cron/atrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/atrun.c b/usr.sbin/cron/atrun.c
index a00d715885d..a6dbb9a784a 100644
--- a/usr.sbin/cron/atrun.c
+++ b/usr.sbin/cron/atrun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atrun.c,v 1.27 2015/01/23 02:37:25 tedu Exp $ */
+/* $OpenBSD: atrun.c,v 1.28 2015/02/09 23:00:14 deraadt Exp $ */
/*
* Copyright (c) 2002-2003 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -160,7 +160,7 @@ atrun(at_db *db, double batch_maxload, time_t now)
/*
* Pending jobs have the user execute bit set.
*/
- if (statbuf.st_mode & S_IXUSR) {
+ if (statbuf.st_mode & S_IXUSR) {
/* new job to run */
if (isupper(job->queue)) {
/* we run one batch job per atrun() call */