commit | 6efa0cca51466dee58faf69f631620933f3fd255 | [log] [tgz] |
---|---|---|
author | Timothée Ravier <tim@siosm.fr> | Wed Jun 28 10:14:14 2023 |
committer | Timothée Ravier <tim@siosm.fr> | Wed Jun 28 10:15:03 2023 |
tree | d62e3690b9a98a7520be171736f08978db5c1782 | |
parent | e0e52fb6db32f8c1c588f169b611678a92daff3c [diff] |
Fix ShellCheck errors and warnings ``` In ./rhcos-toolbox line 21: source "${TOOLBOXRC}" ^------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location. In ./rhcos-toolbox line 48: local runlabel=$(image_runlabel) ^------^ SC2155 (warning): Declare and assign separately to avoid masking return values. In ./rhcos-toolbox line 63: local state=$(container_state) ^---^ SC2155 (warning): Declare and assign separately to avoid masking return values. In ./rhcos-toolbox line 183: echo "${@}; exit" | sudo podman attach "${TOOLBOX_NAME}" ^--^ SC2145 (error): Argument mixes string and array. Use * or separate argument. ```
rhcos-toolbox is a small script, designed for RHEL CoreOS, that launches a podman container to let you bring in your favorite debugging or admin tools.
This project is deprecated and in maintenance mode.
We recommend that you use https://github.com/containers/toolbox instead.