Changeset 497 for trunk/src


Ignore:
Timestamp:
Dec 7, 2015, 7:08:55 PM (9 years ago)
Author:
katerina
Message:

Fix for ticket #394 (self-check incorrect message).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_unix.c

    r494 r497  
    983983      sh_error_handle(SH_ERR_INFO, FIL__, __LINE__, 0, MSG_E_SUBGEN,
    984984                      _("Checksum ok"), _("sh_unix_self_check"));
     985      SL_RETURN((0), _("sh_unix_self_check"));
     986    }
     987
     988  if (0 == sl_strncmp(SH_KEY_NULL, newhash, KEY_LEN))
     989    {
     990      sh_error_handle(SH_ERR_WARN, FIL__, __LINE__, 0, MSG_E_SUBGEN,
     991                      _("Could not read samhain executable"), _("sh_unix_self_check"));
    985992      SL_RETURN((0), _("sh_unix_self_check"));
    986993    }
Note: See TracChangeset for help on using the changeset viewer.