btrbk: return error code 10 if unrecoverable problem

https://github.com/digint/btrbk/issues/285
pull/293/head
Lubos Kolouch 2019-07-09 10:38:21 +02:00 committed by Axel Burri
parent aaef1cd1e9
commit 836efa472b
1 changed files with 3 additions and 0 deletions

3
btrbk
View File

@ -5372,6 +5372,9 @@ MAIN:
}
}
# do not return clean status if there is uncoverable problem
$exit_status = 10 if scalar(@unrecoverable);
exit $exit_status;
}