wrong operation name in preflight check

This commit is contained in:
Asif Bacchus 2020-03-26 03:46:31 -06:00
parent ba58997b9f
commit 099be9ff89

View File

@ -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