From: Vincent Pit Date: Wed, 24 Feb 2010 19:12:15 +0000 (+0100) Subject: Fix constant resolution on 5.8 X-Git-Tag: v0.07~2 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=df425e04a0fe374b7e1906e417f8238af257742f;p=perl%2Fmodules%2Frgit.git Fix constant resolution on 5.8 --- diff --git a/lib/App/Rgit/Repository.pm b/lib/App/Rgit/Repository.pm index bc84740..9894a50 100644 --- a/lib/App/Rgit/Repository.pm +++ b/lib/App/Rgit/Repository.pm @@ -179,7 +179,7 @@ sub run { if ($WIFSIGNALED->($?)) { $sig = $WTERMSIG->($?); $conf->warn("git died with signal $sig\n"); - if ($sig == POSIX::SIGINT || $sig == POSIX::SIGQUIT) { + if ($sig == POSIX::SIGINT() || $sig == POSIX::SIGQUIT()) { $conf->err("Aborting\n"); exit $sig; }