X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=blobdiff_plain;f=src%2Frootcheck%2Frun_rk_check.c;h=dac989aa60d369ecb302d0786d4e4820bc72dafc;hb=789cbc8e52da68eba3517b920ef22e000cf3c9fd;hp=0e2c805c1549dbecdcc1424e473ded14614ece5e;hpb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;p=ossec-hids.git diff --git a/src/rootcheck/run_rk_check.c b/src/rootcheck/run_rk_check.c index 0e2c805..dac989a 100755 --- a/src/rootcheck/run_rk_check.c +++ b/src/rootcheck/run_rk_check.c @@ -25,7 +25,7 @@ int notify_rk(int rk_type, char *msg) { if(rk_type == ALERT_OK) printf("[OK]: %s\n", msg); - else if(rk_type == ALERT_SYSTEM_ERROR) + else if(rk_type == ALERT_SYSTEM_ERR) printf("[ERR]: %s\n", msg); else if(rk_type == ALERT_POLICY_VIOLATION) printf("[INFO]: %s\n", msg); @@ -39,7 +39,7 @@ int notify_rk(int rk_type, char *msg) } /* No need to alert on that to the server */ - if(rk_type <= ALERT_SYSTEM_ERROR) + if(rk_type <= ALERT_SYSTEM_ERR) return(0); #ifdef OSSECHIDS