mirror of
git://git.proxmox.com/git/pve-common.git
synced 2024-12-24 01:33:48 +03:00
CLIHandler.pm: remove run as root restriction
This should be checked somewhere else. Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
parent
7b7f99c9b9
commit
cb87191ed6
@ -506,10 +506,6 @@ sub run_cli_handler {
|
||||
|
||||
initlog($exename);
|
||||
|
||||
if ($class !~ m/^PVE::Service::/) {
|
||||
die "please run as root\n" if $> != 0;
|
||||
}
|
||||
|
||||
no strict 'refs';
|
||||
my $def = ${"${class}::cmddef"};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user