summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-09-21 18:08:48 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-09-21 18:08:48 +0200
commite171f8886525cbaa48e40f7d5b31acb6db657fb2 (patch)
treec52ce2e16815bfa911d5bc3ae50690ac555484f1 /lib
parenta191a7cc1873f6c3a0617d549a2d4b4c331264cc (diff)
Remove pid fron cron serives, reap children in signal handler
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'lib')
-rw-r--r--lib/cron/rdcron.c1
-rw-r--r--lib/include/crontab.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/cron/rdcron.c b/lib/cron/rdcron.c
index c581b7e..1c11cbb 100644
--- a/lib/cron/rdcron.c
+++ b/lib/cron/rdcron.c
@@ -489,7 +489,6 @@ crontab_t *rdcron(int dirfd, const char *filename)
goto out;
}
- cron->pid = -1;
cron->minute = 0xFFFFFFFFFFFFFFFFUL;
cron->hour = 0xFFFFFFFF;
cron->dayofmonth = 0xFFFFFFFF;
diff --git a/lib/include/crontab.h b/lib/include/crontab.h
index 408d276..1ea3883 100644
--- a/lib/include/crontab.h
+++ b/lib/include/crontab.h
@@ -32,7 +32,6 @@ typedef struct crontab_t {
uid_t uid;
gid_t gid;
- pid_t pid;
uint64_t minute;
uint32_t hour;