[Rt-commit] [rtir] 03/06: The error message should say what was run, not a hardcoded path

Kevin Falcone falcone at bestpractical.com
Thu Oct 2 16:24:09 EDT 2014


This is an automated email from the git hooks/post-receive script.

falcone pushed a commit to branch 3.0/traceroute-cleanup
in repository rtir.

commit fd99bb1c9a418cdcefdf20a9e481dd973630f5d7
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Thu Oct 2 15:18:01 2014 -0400

    The error message should say what was run, not a hardcoded path
---
 html/RTIR/Tools/Traceroute.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/RTIR/Tools/Traceroute.html b/html/RTIR/Tools/Traceroute.html
index fb47d80..7dd3afe 100644
--- a/html/RTIR/Tools/Traceroute.html
+++ b/html/RTIR/Tools/Traceroute.html
@@ -82,7 +82,7 @@ unless ( -f $cmd && -x _ ) {
 }
 
 tied(%session)->release_all_locks;
-open(my $tr, "-|", $cmd, $q) or Abort("Couldn't run '/usr/sbin/traceroute': $!");
+open(my $tr, "-|", $cmd, $q) or Abort("Couldn't run '$cmd': $!");
 </%INIT>
 <%ARGS>
 $q => ''

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list