Merge pull request #1550 from tmaher/token-helper-stat

fix external token helpers
This commit is contained in:
Jeff Mitchell 2016-06-22 15:59:46 +02:00 committed by GitHub
commit ea3a125846

View file

@ -30,10 +30,10 @@ func ExternalTokenHelperPath(path string) (string, error) {
}
if _, err := os.Stat(path); err != nil {
return path, nil
return "", fmt.Errorf("unknown error getting the external helper path")
}
return "", fmt.Errorf("unknown error getting the external helper path")
return path, nil
}
// ExternalTokenHelper is the struct that has all the logic for storing and retrieving