From e7eb88c32ac1c8905f6f7350f209c0495c5d06d8 Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 22 Mar 2022 09:12:34 +0100 Subject: [PATCH] Give feedback if restore script doesn't support db type --- install/usr/local/bin/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/usr/local/bin/restore b/install/usr/local/bin/restore index cb88a14..dbee688 100755 --- a/install/usr/local/bin/restore +++ b/install/usr/local/bin/restore @@ -935,7 +935,8 @@ case "${r_dbtype}" in exit_code=$? ;; * ) - exit 3 + print_info "Unable to restore DB of type '${r_dbtype}'" + exit_code=3 ;; esac