Changeset 332 for trunk/src/sh_utmp.c


Ignore:
Timestamp:
Apr 21, 2011, 12:22:07 PM (14 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.