Skip to content

Commit

Permalink
Merge branch 'mechairoi-open3_error_handling'
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayu36 committed Jul 21, 2013
2 parents e08d091 + b27abf4 commit b0293e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cinnamon/Remote.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sub execute {

my ($stdin, $stdout, $stderr, $pid) = $conn->open3({
tty => $opts->{tty},
}, join ' ', @$commands);
}, join ' ', @$commands) or die "open3 failed: " . $conn->error;

if ($opts->{password}) {
print $stdin "$opts->{password}\n";
Expand Down

0 comments on commit b0293e1

Please sign in to comment.