marsadm: silence annoying warning

This commit is contained in:
Thomas Schoebel-Theuer 2020-12-23 19:29:05 +01:00
parent 0c4f1eeb9f
commit 3528dde020
1 changed files with 1 additions and 1 deletions

View File

@ -1458,7 +1458,7 @@ sub systemd_present {
my $unit_glob = "$mars/resource-$res/systemd-*-unit";
return "" unless lamport_glob($unit_glob);
my $want_path = "$mars/resource-$res/systemd-want";
my $want = get_link($want_path, 2);
my $want = get_link($want_path, 1);
return $want;
}