diff --git a/misc/pprof b/misc/pprof index 71ecd44b10..7c379acbe8 100755 --- a/misc/pprof +++ b/misc/pprof @@ -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; } }