Changeset 144 for trunk/src/sh_utmp.c


Ignore:
Timestamp:
Oct 31, 2007, 11:33:13 PM (17 years ago)
Author:
rainer
Message:

Fix some more queer compile problems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_utmp.c

    r143 r144  
    495495    return SH_MOD_FAILED;
    496496#ifdef HAVE_PTHREAD
    497   if (arg != NULL && arg->initval < 0 && sh.flag.isdaemon == S_TRUE)
     497  if (arg != NULL && arg->initval < 0 &&
     498      (sh.flag.isdaemon == S_TRUE || sh.flag.loop == S_TRUE))
    498499    {
    499500      if (0 == sh_pthread_create(sh_threaded_module_run, (void *)arg))
Note: See TracChangeset for help on using the changeset viewer.