Files
runc/script
Kir Kolyshkin 7f8cb3d63b script/check-config.sh: fix wrap_color usage
1. Allow wrap_bad and wrap_good to have an optional arguments.

2. Remove unneeded echos; this fixes the shellcheck warnings like

	In ./script/check-config.sh line 178:
			echo "$(wrap_bad 'cgroup hierarchy' 'nonexistent??')"
                             ^-- SC2005 (style): Useless echo? Instead of 'echo $(cmd)', just use 'cmd'.

3. Fix missing color argument in calls to wrap_color (when printing the
   hint about how to install apparmor).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit dc73d236ea)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2023-04-05 09:54:20 -07:00
..
2021-10-01 10:25:30 -07:00
2021-12-09 00:59:43 -08:00