aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netwatch-syslog2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwatch-syslog b/netwatch-syslog
index 87e9709..03aa1a5 100644
--- a/netwatch-syslog
+++ b/netwatch-syslog
@@ -6,7 +6,7 @@
#
# manage remote logging facilities
-:local Remote [ /system logging action get [ :pick [ find where target=remote ] 0 ] remote ];
+:local Remote [ /system logging action get ([ find where target=remote ]->0) remote ];
if ([ / tool netwatch get [ find where host=$Remote ] status ] = "up") do={
/ system logging set disabled=no [ find where action=remote disabled=yes ];