mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 18:03:23 +00:00
Applied patch from Peter Palfrader (for finding executables)
This commit is contained in:
parent
9303b92b39
commit
69bbf5ca2a
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ sub find_binary($)
|
||||||
|
|
||||||
logmsg( 2, "Looking for $binary" );
|
logmsg( 2, "Looking for $binary" );
|
||||||
my $path;
|
my $path;
|
||||||
if ( ! -x $binary )
|
unless ( $binary =~ m#/# )
|
||||||
{
|
{
|
||||||
# search the users $PATH and then a few other places to find the binary
|
# search the users $PATH and then a few other places to find the binary
|
||||||
# just in case $PATH isnt set up right
|
# just in case $PATH isnt set up right
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue