mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-12 16:06:56 +00:00
CLIHandler: remove spurious abort()
The abort currently cannot be reached, instead the error with the same message (unknown command '$cmdstr') in handle_cmd is raised. Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
5c1556cd27
commit
93e9f666ab
@ -190,7 +190,6 @@ sub generate_usage_str {
|
||||
my $param_cb = $gen_param_mapping_func->($cli_handler_class);
|
||||
|
||||
my ($subcmd, $def, undef, undef, $cmdstr) = resolve_cmd($cmd);
|
||||
$abort->("unknown command '$cmdstr'") if !defined($def) && ref($cmd) eq 'ARRAY';
|
||||
|
||||
my $generate;
|
||||
$generate = sub {
|
||||
|
Loading…
Reference in New Issue
Block a user