summaryrefslogtreecommitdiff
path: root/xt/CLI.pm
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2011-06-28 13:32:57 -0400
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2011-06-28 13:33:42 -0400
commit680d8c923015671ec697069c97bcb9c0669b3af1 (patch)
tree1ebf884abfe0d6dbfa3ec1274d5811adfed09d01 /xt/CLI.pm
parentf389280a8265a231a198c7b18b89a6909fd83f1b (diff)
downloadcarton-680d8c923015671ec697069c97bcb9c0669b3af1.tar.gz
modules like Config.pm have no VERSION in corelist. Fixing is_core()
Diffstat (limited to 'xt/CLI.pm')
-rw-r--r--xt/CLI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/CLI.pm b/xt/CLI.pm
index fcff297..0007dc2 100644
--- a/xt/CLI.pm
+++ b/xt/CLI.pm
@@ -49,7 +49,7 @@ sub run {
my($self, @args) = @_;
$self->{output} = '';
$self->{system_output} = capture_merged {
- $self->SUPER::run(@args);
+ eval { $self->SUPER::run(@args) };
};
}