From 5f71d1e40d3220cf2d734a7d57ce4d3bdf630df4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 6 Mar 2013 12:02:04 +0100 Subject: [PATCH] xbps-reconfigure: also syslog XBPS_STATE_CONFIGURE state. --- bin/xbps-reconfigure/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/xbps-reconfigure/main.c b/bin/xbps-reconfigure/main.c index ba20a29a..3de8317c 100644 --- a/bin/xbps-reconfigure/main.c +++ b/bin/xbps-reconfigure/main.c @@ -66,6 +66,8 @@ state_cb(struct xbps_state_cb_data *xscd, void *cbd) /* notifications */ case XBPS_STATE_CONFIGURE: printf("%s: configuring ...\n", xscd->arg); + if (syslog_enabled) + syslog(LOG_NOTICE, "%s: configuring ...", xscd->arg); break; /* errors */ case XBPS_STATE_CONFIGURE_FAIL: