From: Ian Jackson Date: Thu, 4 Oct 2018 00:57:19 +0000 (+0100) Subject: dgit: Do not sometimes crash in quilt-fixup if git-debrebase missing X-Git-Tag: archive/debian/7.0~7 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=6eed28291838da47e4eeebe9ef440fc91d61ac10;ds=sidebyside dgit: Do not sometimes crash in quilt-fixup if git-debrebase missing Closes:#910221. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index beabccea..4cc56845 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; }