Return error code 10 if unrecoverable problem

https://github.com/digint/btrbk/issues/285
pull/286/head
Lubos Kolouch 2019-07-09 10:38:21 +02:00
parent 31c25d0ee2
commit d4c76f4115
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;
}