tests: eliminate Try::Tiny

This commit is contained in:
Michael Stapelberg
2011-10-05 23:21:23 +01:00
parent 689f3b8cf7
commit b9224634dd
2 changed files with 2 additions and 4 deletions

View File

@ -11,7 +11,6 @@ use EV;
use List::Util qw(first);
use List::MoreUtils qw(lastval);
use Time::HiRes qw(sleep);
use Try::Tiny;
use Cwd qw(abs_path);
use SocketActivation;
@ -374,7 +373,7 @@ sub exit_gracefully {
$socketpath ||= get_socket_path();
my $exited = 0;
try {
eval {
say "Exiting i3 cleanly...";
i3($socketpath)->command('exit')->recv;
$exited = 1;