mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
marsadm: silence annoying warning
This commit is contained in:
parent
0c4f1eeb9f
commit
3528dde020
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user