]> git.vpit.fr Git - perl/modules/rgit.git/commitdiff
Just don't return anything when system failed
authorVincent Pit <vince@profvince.com>
Tue, 7 Oct 2008 18:16:23 +0000 (20:16 +0200)
committerVincent Pit <vince@profvince.com>
Tue, 7 Oct 2008 18:16:23 +0000 (20:16 +0200)
lib/App/Rgit/Repository.pm

index 43c6d5b33cf1caa7c2d867ba8c810b311f324fca..50cc9d015ff9dd6585f3499274582ed5e27be26d 100644 (file)
@@ -132,7 +132,7 @@ sub run {
  system { $conf->git } $conf->git, @args;
  if ($? == -1) {
   warn "Failed to execute git: $!\n";
-  return -1, -1;
+  return;
  }
  my $ret;
  $ret = WEXITSTATUS($?) if WIFEXITED($?);