TinCanTech / easy-tls

Manage and Inline OpenVPN TLS keys and Easy-RSA PKI credentials. Supports OpenVPN TLS-Crypt-V2 key system and OpenVPN Peer-Fingerprint mode.
GNU General Public License v2.0
87 stars 19 forks source link

Interactive menus call 'easytls' command with quoted parameters that can be empty #292

Closed TinCanTech closed 2 years ago

TinCanTech commented 2 years ago

IP filters are not added with the inter-active method, only metadata - status: closed is added.

TinCanTech commented 2 years ago

When interactive calls an inline-* command the parameters are always quoted, even when empty or unset. An empty option causes option parsing to fail at while [ -n $1 ]; do, because the parameters to the inline command could be:

"" "" "add-hw"

where: