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