This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Need to pass command to bash, apparently
Apparently if you just use `$cmd`, it gets tokenized by spaces rather than having quotes and backslashes and such interpreted as you might expect in the shell. Since the mysql check commands are the first ones that have spaces in the command, I need to change this to `bash -c "$cmd"`. Apparently I had only tested the script with lms and such. (The correct way to build up a command and run it is instead with arrays, such as `"${cmd[@]}"`.)
- Loading branch information