Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use /usr/bin/test command instead of shell evaluation
Replace direct shell evaluation with `/usr/bin/test` command to bypass confusing output in logs: shell evaluation output: ``` Executed command '[ -f /etc/bluechi/controller.conf.d/ctrl.conf ] && echo 'exists'' with result '2' and output '[: missing ']'' ``` /usr/bin/test command output: ``` Executed command '/usr/bin/test -f /etc/bluechi/controller.conf.d/ctrl.conf' with result '1' and output 'b''' ``` Signed-off-by: Martin Perina <mperina@redhat.com>
- Loading branch information