From b192188079a08161fc339c0006a760868e64a77e Mon Sep 17 00:00:00 2001 From: Lubos Kolouch Date: Tue, 9 Jul 2019 10:38:21 +0200 Subject: [PATCH] Return error code 10 if unrecoverable problem --- btrbk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/btrbk b/btrbk index ab1a2cb..92474c1 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; }