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.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1264505

Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
This commit is contained in:
Vit Mojzis 2017-01-04 10:59:07 +01:00 committed by James Carter
parent c1ba831122
commit aa115d00ff

View file

@ -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? */