diff options
Diffstat (limited to 'lib/App/Beam/Backend.pm')
-rw-r--r-- | lib/App/Beam/Backend.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/App/Beam/Backend.pm b/lib/App/Beam/Backend.pm index 525b57d..7d23156 100644 --- a/lib/App/Beam/Backend.pm +++ b/lib/App/Beam/Backend.pm @@ -59,7 +59,9 @@ sub logcommand { return unless defined $ret; my $comname = $cmd->command_name; if ($ret) { - if ($ret == -1) { + if ($ret =~ /^open3:/) { + $self->logger('err', "failed to run $comname: $ret"); + } elsif ($ret == -1) { $self->logger('err', "failed to run $comname"); } elsif ($ret & 127) { $self->logger('err', |