xbps-remove: do not ignore unknown states in the state cb.
This commit is contained in:
parent
15dc9fbd55
commit
85f75c2531
@ -118,6 +118,11 @@ state_cb_rm(const struct xbps_state_cb_data *xscd, void *cbdata _unused)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
if (xscd->desc) {
|
||||||
|
printf("%s\n", xscd->desc);
|
||||||
|
if (slog)
|
||||||
|
syslog(LOG_NOTICE, "%s", xscd->desc);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user