From 85f75c25318ad1119bc75003f3d6ef398d685b29 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 31 Oct 2015 12:01:22 +0100 Subject: [PATCH] xbps-remove: do not ignore unknown states in the state cb. --- bin/xbps-remove/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c index 835792c8..66394363 100644 --- a/bin/xbps-remove/main.c +++ b/bin/xbps-remove/main.c @@ -118,6 +118,11 @@ state_cb_rm(const struct xbps_state_cb_data *xscd, void *cbdata _unused) } break; default: + if (xscd->desc) { + printf("%s\n", xscd->desc); + if (slog) + syslog(LOG_NOTICE, "%s", xscd->desc); + } break; }