From 468d26f34f8f4f20a636591cd5d6d1fa170fa12b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 9 Mar 2012 19:25:42 -0500 Subject: [PATCH] discard config file --- plugins/relayd/relayd | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/relayd/relayd b/plugins/relayd/relayd index 008d1fa1..9bdffda1 100755 --- a/plugins/relayd/relayd +++ b/plugins/relayd/relayd @@ -98,6 +98,7 @@ elsif ($cmd eq 'autoconf') { fail("$logfile unreadable)") unless -r $logfile; fail("$configfile unreadable") unless -r $configfile; open(my $status, "relayctl show summary|") or fail("cannot open relayctl pipe: $!"); + () = <$status>; close($status) or fail("cannot run relayctl: $!"); print "yes"; exit(0);