[Rt-commit] [rtir] 01/06: Use mutliple-argument form of open()
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 bcfb85c46b06a1b545000d51ba412e18426c49e9
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Jun 28 13:34:41 2011 -0400
Use mutliple-argument form of open()
(cherry picked from commit f471ff407b85d04dd9dae7d54bed0c8d52070bfe)
---
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 e0b1752..d0b970a 100644
--- a/html/RTIR/Tools/Traceroute.html
+++ b/html/RTIR/Tools/Traceroute.html
@@ -83,7 +83,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 '/usr/sbin/traceroute': $!");
</%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