From 3528dde02028bcf7ec537561c0bdb6704bea5109 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Wed, 23 Dec 2020 19:29:05 +0100 Subject: [PATCH] marsadm: silence annoying warning --- userspace/marsadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/marsadm b/userspace/marsadm index 198bd199..00e915da 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -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; }