Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2020-12-21 17:48:43 -05:00
parent 07663f74c4
commit 4fa1fce930
123 changed files with 322 additions and 322 deletions

View File

@ -432,7 +432,7 @@ func IsKernelNewerThan(version string) (bool, error) {
}
// IsCommandAvaible check if command exist
// IsCommandAvailable check if command exist
func IsCommandAvailable(command string) bool {
check := exec.Command("bash", "-c", strings.Join([]string{"command -v", command}, " "))
err := check.Run()