xbps-reconfigure: also syslog XBPS_STATE_CONFIGURE state.

This commit is contained in:
Juan RP 2013-03-06 12:02:04 +01:00
parent 6d2497d8d8
commit 5f71d1e40d

View File

@ -66,6 +66,8 @@ state_cb(struct xbps_state_cb_data *xscd, void *cbd)
/* notifications */ /* notifications */
case XBPS_STATE_CONFIGURE: case XBPS_STATE_CONFIGURE:
printf("%s: configuring ...\n", xscd->arg); printf("%s: configuring ...\n", xscd->arg);
if (syslog_enabled)
syslog(LOG_NOTICE, "%s: configuring ...", xscd->arg);
break; break;
/* errors */ /* errors */
case XBPS_STATE_CONFIGURE_FAIL: case XBPS_STATE_CONFIGURE_FAIL: