From 099be9ff89038160f491d58d42e019741faebe37 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Thu, 26 Mar 2020 03:46:31 -0600 Subject: [PATCH] wrong operation name in preflight check --- borghelper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borghelper.sh b/borghelper.sh index 8d58b94..9a61e01 100755 --- a/borghelper.sh +++ b/borghelper.sh @@ -128,7 +128,7 @@ if [ -z "$varsFile" ]; then fi # list without archive -if [ "$operation" = 'list' ] && [ -z "$archiveName" ]; then +if [ "$operation" = 'viewarchive' ] && [ -z "$archiveName" ]; then consoleError 1 "List operation requested but no archive name provided. Please use '--list-all' for a list of all available archives." fi