close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 332 for trunk


Ignore:
Timestamp:
Apr 21, 2011, 12:22:07 PM (16 years ago)
Author:
katerina
Message:

Fix for ticket #249: Samhain hangs after reload when compiled with --enable-login-watch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_utmp.c

    r295 r332  
    539539        return SH_MOD_FAILED;
    540540    }
     541  else if (arg != NULL && arg->initval == SH_MOD_THREAD &&
     542           (sh.flag.isdaemon == S_TRUE || sh.flag.loop == S_TRUE))
     543    {
     544      return SH_MOD_THREAD;
     545    }
    541546#endif
    542547  return sh_utmp_init_internal();
Note: See TracChangeset for help on using the changeset viewer.