remove trailing comma too, even though I don't think it does any harm

This commit is contained in:
Daniel Stenberg 2008-01-16 22:09:51 +00:00
Родитель 301ae1ae1b
Коммит 6893fcaa9b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -374,7 +374,7 @@ sub startnew {
sub checkcmd {
my ($cmd)=@_;
my @paths=(split(":", $ENV{'PATH'}), "/usr/sbin", "/usr/local/sbin",
"/sbin", "/usr/bin", "/usr/local/bin", );
"/sbin", "/usr/bin", "/usr/local/bin" );
for(@paths) {
if( -x "$_/$cmd") {
return "$_/$cmd";