From c274363b0e6186e657b6f1ce28ee28cbcee583f9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 30 Oct 2015 14:47:25 +0100 Subject: [PATCH] xbps-install/state_cb: do not treat unknown states as error if desc is not NULL. --- bin/xbps-install/state_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-install/state_cb.c b/bin/xbps-install/state_cb.c index bcd8b1cc..5189b9a9 100644 --- a/bin/xbps-install/state_cb.c +++ b/bin/xbps-install/state_cb.c @@ -186,7 +186,7 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata _unused) break; default: if (xscd->desc) - xbps_error_printf("%s\n", xscd->desc); + printf("%s\n", xscd->desc); else xbps_dbg_printf(xscd->xhp, "%s: unknown state %d\n", xscd->arg, xscd->state);