1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-30 10:50:34 +03:00

Fix vgremove 'all OK' check

This commit is contained in:
Alasdair Kergon 2003-11-06 17:16:22 +00:00
parent 2dc95e1c41
commit 02ceef1225

View File

@ -75,7 +75,7 @@ static int vgremove_single(struct cmd_context *cmd, const char *vg_name,
backup_remove(vg_name);
if (!ret)
if (ret == ECMD_PROCESSED)
log_print("Volume group \"%s\" successfully removed", vg_name);
else
log_error("Volume group \"%s\" not properly removed", vg_name);