]> git.vpit.fr Git - perl/modules/rgit.git/commitdiff
Fix constant resolution on 5.8
authorVincent Pit <vince@profvince.com>
Wed, 24 Feb 2010 19:12:15 +0000 (20:12 +0100)
committerVincent Pit <vince@profvince.com>
Wed, 24 Feb 2010 19:12:15 +0000 (20:12 +0100)
lib/App/Rgit/Repository.pm

index bc847408f45fb1a284fee211fea1a01e573d0199..9894a50579409778702c7e97bfdc93de74112dda 100644 (file)
@@ -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;
   }