xbps-*: do not log to console with syslog enabled. Close #123

This commit is contained in:
Juan RP
2015-10-29 07:16:49 +01:00
parent fa7d8bdfc5
commit 637c087173
4 changed files with 8 additions and 3 deletions

View File

@ -58,7 +58,7 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbd _unused)
if ((xscd->xhp->flags & XBPS_FLAG_DISABLE_SYSLOG) == 0) {
slog = true;
openlog("xbps-reconfigure", LOG_CONS, LOG_USER);
openlog("xbps-reconfigure", 0, LOG_USER);
}
switch (xscd->state) {