Permalink
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...
2 parents dab9681 + 24576db commit 41498ff752ddf609207bd683d8313161f12b3594 @ssinyagin committed Aug 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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;
}

0 comments on commit 41498ff

Please sign in to comment.