From: Martin Wilck <mwilck@xxxxxxxx> Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- kpartx/kpartx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kpartx/kpartx.c b/kpartx/kpartx.c index c24ad6d..5f59e15 100644 --- a/kpartx/kpartx.c +++ b/kpartx/kpartx.c @@ -635,6 +635,8 @@ main(int argc, char **argv){ if (!dm_simplecmd(DM_DEVICE_REMOVE, partname, 1, 0)) { + fprintf(stderr, "failed to remove %s", + partname); r++; continue; } -- 2.26.2 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel