]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/CLIHandler.pm
deps: moving skiplock breaks qemu-server << 4.0-109
[pve-common.git] / src / PVE / CLIHandler.pm
index 33c47c3d108483672533ced1c5e29acdf52770f1..e61fa6a1cdf02c601d1850021cc3e94e246ca099 100644 (file)
@@ -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"};