use correct package prefix

This commit is contained in:
Dietmar Maurer 2013-04-22 10:57:24 +02:00
parent b91c2aae28
commit 218cab9a3a

View File

@ -2399,7 +2399,7 @@ __PACKAGE__->register_method({
if PVE::QemuServer::is_template($conf) && !$disk;
die "you can't convert a VM to template if VM is running\n"
if check_running($vmid);
if PVE::QemuServer::check_running($vmid);
my $realcmd = sub {
PVE::QemuServer::template_create($vmid, $conf, $disk);