Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #9 from jeremiahsnapp/clear_accum

Clear Expect's accumulator after login to start from a clean slate
  • Loading branch information...
commit 41498ff752ddf609207bd683d8313161f12b3594 2 parents dab9681 + 24576db
@ssinyagin authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/Gerty/CLI/DirectAccess.pm
View
1  lib/Gerty/CLI/DirectAccess.pm
@@ -180,6 +180,7 @@ sub connect
}
$Gerty::log->debug('Logged in at ' . $ipaddr);
+ $exp->clear_accum();
$self->{'expect'} = $exp;
return $exp;
}
Please sign in to comment.
Something went wrong with that request. Please try again.