From 836efa472ba6a93416471dac43703901ed35e41a Mon Sep 17 00:00:00 2001 From: Lubos Kolouch Date: Tue, 9 Jul 2019 10:38:21 +0200 Subject: [PATCH] btrbk: return error code 10 if unrecoverable problem https://github.com/digint/btrbk/issues/285 --- btrbk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/btrbk b/btrbk index 5cd5915..ebe323f 100755 --- a/btrbk +++ b/btrbk @@ -5372,6 +5372,9 @@ MAIN: } } + # do not return clean status if there is uncoverable problem + $exit_status = 10 if scalar(@unrecoverable); + exit $exit_status; }