mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
cleanup: type cleanup
Fix return code 1. Since we always check for !() - this fix has no other effect.
This commit is contained in:
parent
7c921f18e2
commit
1c212371fa
@ -1655,7 +1655,7 @@ int validate_restricted_lvname_param(struct cmd_context *cmd, const char **vg_na
|
||||
if (lv_name && *lv_name && !apply_lvname_restrictions(*lv_name))
|
||||
return_0;
|
||||
|
||||
return -1;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user