xbps-remove: do not ignore unknown states in the state cb.

This commit is contained in:
Juan RP 2015-10-31 12:01:22 +01:00
parent 15dc9fbd55
commit 85f75c2531

View File

@ -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;
}