From 6eed28291838da47e4eeebe9ef440fc91d61ac10 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 4 Oct 2018 01:57:19 +0100 Subject: [PATCH] dgit: Do not sometimes crash in quilt-fixup if git-debrebase missing Closes:#910221. Signed-off-by: Ian Jackson --- dgit | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.30.2