Plugins: fix quoting issues (all plugins) #13

Open
opened 2020-12-22 01:18:55 +01:00 by patrick · 1 comment
Owner
(( ARG_DEBUG > 0 && ARG_DEBUG_LEVEL > 0 )) && set ${DEBUG_OPTS}

_show_usage $0 ${_VERSION} ${_CONFIG_FILE} && return 0

to

(( ARG_DEBUG > 0 && ARG_DEBUG_LEVEL > 0 )) && set "${DEBUG_OPTS}"

_show_usage "$0" "${_VERSION}" "${_CONFIG_FILE}" && return 0
``` (( ARG_DEBUG > 0 && ARG_DEBUG_LEVEL > 0 )) && set ${DEBUG_OPTS} _show_usage $0 ${_VERSION} ${_CONFIG_FILE} && return 0 ``` to ``` (( ARG_DEBUG > 0 && ARG_DEBUG_LEVEL > 0 )) && set "${DEBUG_OPTS}" _show_usage "$0" "${_VERSION}" "${_CONFIG_FILE}" && return 0 ```
patrick added the
bug
label 2020-12-22 01:18:55 +01:00
patrick self-assigned this 2020-12-22 01:18:55 +01:00
patrick changed title from Fix quoting issues (all plugins) to Plugins: fix quoting issues (all plugins) 2020-12-22 01:19:33 +01:00
Author
Owner
  • OK for main scripts + includes
  • OK for plugins >= 20201227
  • OK for ntp,postfix plugins
* OK for main scripts + includes * OK for plugins >= 20201227 * OK for ntp,postfix plugins
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kudos/check_health#13
No description provided.