Révision 468d26f3
| ID | 468d26f34f8f4f20a636591cd5d6d1fa170fa12b |
discard config file
| plugins/relayd/relayd | ||
|---|---|---|
| 98 | 98 |
fail("$logfile unreadable)") unless -r $logfile;
|
| 99 | 99 |
fail("$configfile unreadable") unless -r $configfile;
|
| 100 | 100 |
open(my $status, "relayctl show summary|") or fail("cannot open relayctl pipe: $!");
|
| 101 |
() = <$status>; |
|
| 101 | 102 |
close($status) or fail("cannot run relayctl: $!");
|
| 102 | 103 |
print "yes"; |
| 103 | 104 |
exit(0); |
Formats disponibles : Unified diff