summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-26 15:11:06 -0400
committerJesse Luehrs <doy@tozt.net>2013-06-26 15:11:06 -0400
commit1aadfc490b86be464b01069a6e5dcb521c4c6ebd (patch)
tree44361b608cffeb167c2c13f01acc96593b03a057
parentdd7739f1a2a255f1eafe51645cb4a431c64c7ea6 (diff)
downloadreply-1aadfc490b86be464b01069a6e5dcb521c4c6ebd.tar.gz
reply-1aadfc490b86be464b01069a6e5dcb521c4c6ebd.zip
make breaking out of the repl with loop callbacks actually work
-rw-r--r--lib/Reply.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Reply.pm b/lib/Reply.pm
index e84e56e..a378fa8 100644
--- a/lib/Reply.pm
+++ b/lib/Reply.pm
@@ -142,7 +142,9 @@ sub step {
catch {
$self->_print_error($_);
};
- $self->_loop;
+
+ my ($continue) = $self->_loop;
+ return $continue;
}
sub _load_config {