summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-04 01:57:19 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2018-10-04 16:33:23 +0100
commit6eed28291838da47e4eeebe9ef440fc91d61ac10 (patch)
treee00ac3011c7131053045abb74a0b9a4979f69f5f /dgit
parent1c46286457e158a84cd6506ee6479a41130c43a9 (diff)
dgit: Do not sometimes crash in quilt-fixup if git-debrebase missing
Closes:#910221. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit5
1 files changed, 4 insertions, 1 deletions
diff --git a/dgit b/dgit
index beabcce..4cc5684 100755
--- a/dgit
+++ b/dgit
@@ -5715,7 +5715,10 @@ END
if (act_local()) {
debugcmd "+",@cmd;
$!=0; $?=-1;
- failedcmd @cmd if system @cmd and $?!=7*256;
+ failedcmd @cmd
+ if system @cmd
+ and not ($? == 7*256 or
+ $? == -1 && $!==ENOENT);
} else {
dryrun_report @cmd;
}