Changeset 169 for trunk/src/samhain.c


Ignore:
Timestamp:
Apr 13, 2008, 9:59:55 PM (17 years ago)
Author:
katerina
Message:

Fixes for tickes #93 to #104 (yes, big commit, bad, bad,...).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/samhain.c

    r162 r169  
    775775   */
    776776  (void) sh_unix_rm_lock_file (sh.srvlog.name);
    777   (void) sh_unix_rm_pid_file ();
     777  if (sh.flag.isdaemon == S_TRUE)
     778    (void) sh_unix_rm_pid_file ();
    778779  if (skey != NULL)
    779780    memset (skey, (int) '\0', sizeof(sh_key_t));
Note: See TracChangeset for help on using the changeset viewer.