Index: trunk/src/sh_unix.c
===================================================================
--- trunk/src/sh_unix.c	(revision 496)
+++ trunk/src/sh_unix.c	(revision 497)
@@ -983,4 +983,11 @@
       sh_error_handle(SH_ERR_INFO, FIL__, __LINE__, 0, MSG_E_SUBGEN,
 		      _("Checksum ok"), _("sh_unix_self_check"));
+      SL_RETURN((0), _("sh_unix_self_check"));
+    }
+
+  if (0 == sl_strncmp(SH_KEY_NULL, newhash, KEY_LEN))
+    {
+      sh_error_handle(SH_ERR_WARN, FIL__, __LINE__, 0, MSG_E_SUBGEN,
+		      _("Could not read samhain executable"), _("sh_unix_self_check"));
       SL_RETURN((0), _("sh_unix_self_check"));
     }
