chiark / gitweb /
dgit: Import handling Do not crash due in clone
[dgit.git] / dgit
diff --git a/dgit b/dgit
index 0507899b1f9a18ff17ba48b5a2a8426ec726ab28..a568c579a00041813506a2425617304431126481 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1846,7 +1846,7 @@ sub generate_commits_from_dsc () {
        printdebug "import clog $r1clogp->{version} becomes r1\n";
     }
     die $! if CLOGS->error;
-    close CLOGS or $?==(SIGPIPE<<8) or failedcmd @clogcmd;
+    close CLOGS or $?==SIGPIPE or failedcmd @clogcmd;
 
     $clogp or fail "package changelog has no entries!";