mirror of https://github.com/schoebel/mars
marsadm: silence tree warning
This commit is contained in:
parent
19f3e71d34
commit
83c831e8db
|
@ -2587,7 +2587,7 @@ sub get_global_versions {
|
||||||
unless (defined($ARGV[0]) && $ARGV[0] =~ m/cluster|cat/) {
|
unless (defined($ARGV[0]) && $ARGV[0] =~ m/cluster|cat/) {
|
||||||
my $act_dir = "$mars/actual-$host";
|
my $act_dir = "$mars/actual-$host";
|
||||||
mkdir($act_dir) unless -d $act_dir;
|
mkdir($act_dir) unless -d $act_dir;
|
||||||
$kernel_version = get_alive_link("tree", $host, 1);
|
$kernel_version = get_alive_link("tree", $host, 2);
|
||||||
if ($kernel_version && $user_version != $kernel_version) {
|
if ($kernel_version && $user_version != $kernel_version) {
|
||||||
lwarn "kernel_version=$kernel_version user_version=$user_version\n";
|
lwarn "kernel_version=$kernel_version user_version=$user_version\n";
|
||||||
if ($user_version < $kernel_version) {
|
if ($user_version < $kernel_version) {
|
||||||
|
|
Loading…
Reference in New Issue