Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

be more enterprising in finding the tracroute binary

  • Loading branch information...
commit a48b95773687243f37764ba535594b0d51587007 1 parent 1f295f7
Tobias Oetiker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  backend/lib/remOcular/Plugin/TraceRoute.pm
2  backend/lib/remOcular/Plugin/TraceRoute.pm
View
@@ -221,7 +221,7 @@ sub start_instance {
my $self = shift;
my $outfile = shift;
my $params = shift;
- my $bin = '/usr/sbin/traceroute';
+ my $bin = ''.(grep { -x $_.'/traceroute' } qw(/usr/bin /bin /usr/sbin /sbin))[0].'/traceroute';
if (not -x $bin){
$self->save($outfile,"#ERROR\t$bin not found\n");
return;
Please sign in to comment.
Something went wrong with that request. Please try again.