mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-27 08:17:15 +00:00
re-enable run_cli, which is still in use
This commit is contained in:
parent
2289890bad
commit
b7ef63ab0a
@ -450,7 +450,12 @@ my $handle_simple_cmd = sub {
|
||||
sub run_cli {
|
||||
my ($class, $pwcallback, $podfn, $preparefunc) = @_;
|
||||
|
||||
die "depreciated function run_cli - use run_cli_handler instead";
|
||||
# Note: "depreciated function run_cli - use run_cli_handler instead";
|
||||
# silently ignore $podfn , which is no longer supported.
|
||||
|
||||
die "password callback is no longer supported" if $pwcallback;
|
||||
|
||||
run_cli_handler($class, prepare => $preparefunc);
|
||||
}
|
||||
|
||||
sub run_cli_handler {
|
||||
|
Loading…
Reference in New Issue
Block a user