From b1c036702724048603698a4d926795b5d2ec30cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 9 Mar 2012 19:24:50 -0500 Subject: [PATCH] distinguish between open and close for pipe error messages --- plugins/relayd/relayd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relayd/relayd b/plugins/relayd/relayd index 6590f801..008d1fa1 100755 --- a/plugins/relayd/relayd +++ b/plugins/relayd/relayd @@ -97,7 +97,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 run relayctl: $!"); + open(my $status, "relayctl show summary|") or fail("cannot open relayctl pipe: $!"); close($status) or fail("cannot run relayctl: $!"); print "yes"; exit(0);