]> granicus.if.org Git - fcron/commitdiff
the user for whom the job is run is now logged
authorthib <thib>
Fri, 2 Mar 2001 17:50:34 +0000 (17:50 +0000)
committerthib <thib>
Fri, 2 Mar 2001 17:50:34 +0000 (17:50 +0000)
job.c

diff --git a/job.c b/job.c
index 3131053772989c23afc02c7ed3d252a4ff00b342..59816d9c275d91e1eb38f021cab6bfb1b33a3228 100644 (file)
--- a/job.c
+++ b/job.c
@@ -22,7 +22,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: job.c,v 1.35 2001-02-14 13:53:08 thib Exp $ */
+ /* $Id: job.c,v 1.36 2001-03-02 17:50:34 thib Exp $ */
 
 #include "fcron.h"
 
@@ -256,7 +256,8 @@ run_job(struct exe *exeent)
        exeent->e_pid = pid;
        line->cl_file->cf_running += 1;
        if ( ! is_nolog(line->cl_option) )
-           explain("Job %s started (pid %d)", line->cl_shell, pid);
+           explain("Job %s started for user %s (pid %d)", line->cl_shell,
+                   line->cl_file->cf_user, pid);
 
     }