Révision a75478bd
relayd: adjust PATH properly
in FreeBSD, relayd is more likely installed in /usr/local/sbin.
| plugins/relayd/relayd | ||
|---|---|---|
| 62 | 62 |
|
| 63 | 63 |
(defined($ENV{'logfile'})) and $logfile = $ENV{'logfile'};
|
| 64 | 64 |
(defined($ENV{'configfile'})) and $configfile = $ENV{'configfile'};
|
| 65 |
$ENV{'PATH'} .= ':/usr/local/sbin';
|
|
| 65 | 66 |
|
| 66 | 67 |
my $cmd = (defined($ARGV[0])) ? $ARGV[0] : ''; |
| 67 | 68 |
|
Formats disponibles : Unified diff