policycoreutils/restorecond: Decrease loglevel of termination message
PATCH 1/1 policycoreutils/restorecond: Decrease loglevel of termination message
Decrease loglevel of termination message
(eg. "restorecond[709]: terminated") to LOG_INFO because it is printed upon normal shutdown of the daemon.
Signed-off-by Vit Mojzis <[email protected]>
--- restorecond/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
restorecond/watch.c +1 -1
@@ -179,7 +179,7 @@ int watch(int fd, const char *watch_file)syslog (LOG_ERR ,"Read error (%s)" ,strerror (errno));return 0 ; } -syslog (LOG_ERR ,"terminated" ); +syslog (LOG_INFO ,"terminated" );return -1 ; }else if (!len)/* BUF_LEN too small? */
Signature · 1 line
2.7.4
James Carter
AppliedQuoted 7 lines · Vit Mojzis
Decrease loglevel of termination message
(eg. "restorecond[709]: terminated") toLOG_INFObecause it is printed upon normal shutdown of the daemon.Signed-off-by Vit Mojzis <[email protected]>
Applied.
Thanks,
Quoted 18 lines
--- restorecond/watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)restorecond/watch.c +1
-1@@ -179,7 +179,7 @@ int watch(int fd, const char *watch_file)syslog (LOG_ERR ,"Read error (%s)" ,strerror (errno));return 0 ; } -syslog (LOG_ERR ,"terminated" ); +syslog (LOG_INFO ,"terminated" );return -1 ; }else if (!len)/* BUF_LEN too small? */
Signature · 2 lines
James Carter <[email protected]> National Security Agency