mirror of
https://github.com/golang/go
synced 2024-11-26 04:17:59 -07:00
misc/pprof: don't look for browser in current directory.
Taken from upstream pprof. Fixes #4564. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/6952045
This commit is contained in:
parent
64eb7749bc
commit
11a40cb34d
@ -726,10 +726,8 @@ sub RunWeb {
|
||||
"firefox",
|
||||
);
|
||||
foreach my $b (@alt) {
|
||||
if (-f $b) {
|
||||
if (system($b, $fname) == 0) {
|
||||
return;
|
||||
}
|
||||
if (system($b, $fname) == 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user