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:
parent
2dc95e1c41
commit
02ceef1225
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user