This PR removes a redundant if statement that contained a bash syntax error. The extra statement prevented commands such as gwms-factory upgrade -force_delete from working as expected, making it impossible to remove entries from Factories.
From shellcheck:
Arrays don't work as operands in [ ]. Use a loop (or concatenate with * instead of @).
This PR removes a redundant
if
statement that contained a bash syntax error. The extra statement prevented commands such asgwms-factory upgrade -force_delete
from working as expected, making it impossible to remove entries from Factories.From shellcheck: