* `LICENSE' that comes with the fcron source distribution.
*/
- /* $Id: job.c,v 1.62 2005-02-26 15:09:25 thib Exp $ */
+ /* $Id: job.c,v 1.63 2005-03-12 12:37:30 thib Exp $ */
#include "fcron.h"
const char * const * env;
#endif
- /* First, restore umask to default */
- umask (saved_umask);
-
/* Obtain password entry and change privileges */
if ((pas = getpwnam(cl->cl_runas)) == NULL)
die_e("could not pipe()");
}
+ /* First, restore umask to default */
+ umask (saved_umask);
+
#ifndef RUN_NON_PRIVILEGED
if (change_user(line) < 0)
return ;