}
}
}
- die "package '$pkgname' version '$param->{version}' is not avalable\n" if !$ver;
+ die "package '$pkgname' version '$param->{version}' is not available\n" if !$ver;
} else {
$ver = $policy->candidate($p) || die "no installation candidate for package '$pkgname'\n";
}
maximum => 14,
},
disable_cephx => {
- description => "Disable cephx authentification.\n\n" .
+ description => "Disable cephx authentication.\n\n" .
"WARNING: cephx is a security feature protecting against " .
"man-in-the-middle attacks. Only consider disabling cephx ".
"if your network is private!",
name => 'get_status',
path => 'status',
method => 'GET',
- description => "Get cluster status informations.",
+ description => "Get cluster status information.",
permissions => {
check => ['perm', '/', [ 'Sys.Audit' ]],
},
optional => 1,
},
bridge_ports => {
- description => "Specify the iterfaces you want to add to your bridge.",
+ description => "Specify the interfaces you want to add to your bridge.",
optional => 1,
type => 'string', format => 'pve-iface-list',
},
ovs_ports => {
- description => "Specify the iterfaces you want to add to your bridge.",
+ description => "Specify the interfaces you want to add to your bridge.",
optional => 1,
type => 'string', format => 'pve-iface-list',
},
completion => \&PVE::Storage::complete_storage_enabled,
}),
template => { type => 'string',
- description => "The template wich will downloaded",
+ description => "The template which will downloaded",
maxLength => 255,
completion => \&complete_templet_repo,
},
my $realcmd = sub {
my $upid = shift;
- syslog('info', "stoping service $param->{service}: $upid\n");
+ syslog('info', "stopping service $param->{service}: $upid\n");
&$service_cmd($param->{service}, 'stop');
die "update failed: unable to store data\n";
}
- logmsg($logfd, "update sucessful");
+ logmsg($logfd, "update successful");
};
my $err = $@;
method => 'GET',
description => "Get list of all templates on storage",
permissions => {
- description => "Show all users the template wich have permission on that storage.",
+ description => "Show all users the template which have permission on that storage.",
check => ['perm', '/storage/{storage}', ['Datastore.AllocateTemplate']],
},
proxyto => 'node',
}),
stop => {
type => 'boolean',
- description => "Stop runnig backup jobs on this host.",
+ description => "Stop running backup jobs on this host.",
optional => 1,
default => 0,
},
if (!flock (SERVER_FLCK, LOCK_EX|LOCK_NB)) {
if (!$maxwait) {
- debugmsg ('err', "can't aquire lock '$lockfile' (wait = 0)", undef, 1);
- die "can't aquire lock '$lockfile' (wait = 0)";
+ debugmsg ('err', "can't acquire lock '$lockfile' (wait = 0)", undef, 1);
+ die "can't acquire lock '$lockfile' (wait = 0)";
}
debugmsg('info', "trying to get global lock - waiting...", undef, 1);
my $err = $@;
if ($err) {
- debugmsg ('err', "can't aquire lock '$lockfile' - $err", undef, 1);
- die "can't aquire lock '$lockfile' - $err";
+ debugmsg ('err', "can't acquire lock '$lockfile' - $err", undef, 1);
+ die "can't acquire lock '$lockfile' - $err";
}
debugmsg('info', "got global lock", undef, 1);
last if !PVE::ProcFSTools::check_process_running(($task->{pid}, $task->{pstart}));
sleep (1);
}
- die "stoping backup process $task->{pid} failed\n" if $i == 0;
+ die "stopping backup process $task->{pid} failed\n" if $i == 0;
}
}