xbps-reconfigure: also syslog XBPS_STATE_CONFIGURE state.
This commit is contained in:
parent
6d2497d8d8
commit
5f71d1e40d
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user