-const char jcc_rcs[] = "$Id: jcc.c,v 1.70 2002/03/05 04:52:42 oes Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.71 2002/03/05 18:13:56 oes Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/jcc.c,v $
*
* Revisions :
* $Log: jcc.c,v $
+ * Revision 1.71 2002/03/05 18:13:56 oes
+ * Added --user option
+ *
* Revision 1.70 2002/03/05 04:52:42 oes
* Deleted non-errlog debugging code
*
{
no_daemon = 1;
}
-
+#if !defined(__OS2__)
else if (strcmp(argv[argc_pos], "--pidfile" ) == 0)
{
if (++argc_pos == argc) usage(argv[0]);
{
if (++argc_pos == argc) usage(argv[0]);
pw = getpwnam(argv[argc_pos]);
-
+ s
if (pw == NULL)
{
log_error(LOG_LEVEL_FATAL, "User %s not found.", argv[argc_pos]);
}
}
+#endif /* !defined(__OS2__) */
else
#endif /* defined(_WIN32) && !defined(_WIN_CONSOLE) */
{