Fix minor problems in install-key-manager.sh, Bacula 15.0.1
Summary
Reproducibility | Platform | OS | OS Version | Product Version |
---|---|---|---|---|
always | all | all | all | 15.0.1 |
Description
Debian QA tools/shellcheck show that some code in the script can be improved. A patch is attached.
Steps to Reproduce
run shellcheck bacula/scripts/install-key-manager.sh.in
Additional information
Change deprecated . to : in chown
Change bashism "UID" to POSIX compatible "$(id -u)", c.f. https://www.shellcheck.net/wiki/SC3028
Change "-o" in test to "||", c.f. https://www.shellcheck.net/wiki/SC2166