glideinWMS / glideinwms

The glideinWMS Project
http://tinyurl.com/glideinwms
Apache License 2.0
16 stars 46 forks source link

Fix argmuent parsing for gwms-factory upgrade #323

Closed BrunoCoimbra closed 1 year ago

BrunoCoimbra commented 1 year ago

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