diff options
Diffstat (limited to 'usr.sbin/cron/cron/do_command.c')
-rw-r--r-- | usr.sbin/cron/cron/do_command.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/cron/cron/do_command.c b/usr.sbin/cron/cron/do_command.c index cc19f4a..4b6fe33 100644 --- a/usr.sbin/cron/cron/do_command.c +++ b/usr.sbin/cron/cron/do_command.c @@ -91,12 +91,7 @@ child_process(e, u) /* mark ourselves as different to PS command watchers by upshifting * our program name. This has no effect on some kernels. */ - /*local*/{ - register char *pch; - - for (pch = ProgramName; *pch; pch++) - *pch = MkUpper(*pch); - } + setproctitle("running job"); /* discover some useful and important environment settings */ |