Merge branch 'feature/cat' into 'master'
Feature/cat Fixed typo in comment. See merge request !5
This commit is contained in:
commit
f144050535
2
utils.go
2
utils.go
@ -112,7 +112,7 @@ func findExecutable(programName string) (string, error) {
|
||||
}
|
||||
}
|
||||
|
||||
// Searches the given set of paths for a the given program, returing when it finds it or returning an error if the
|
||||
// Searches the given set of paths for a the given program, returning when it finds it or returning an error if the
|
||||
// program is not found
|
||||
func searchPath(programName string, path []string) (string, error) {
|
||||
// Loop through each path element, test for the existance of the file, and then return if we find it
|
||||
|
Reference in New Issue
Block a user