clean incorrect Fatal

This commit is contained in:
cuu
2021-10-30 14:08:40 +08:00
parent 06f7589f8b
commit c813de432d
7 changed files with 33 additions and 31 deletions

View File

@@ -102,7 +102,7 @@ func IsAFile(path string) bool {
func MakeExecutable(path string) {
fileInfo, err := os.Stat(path)
if err != nil {
log.Fatalf("os.Stat %s failed", path)
log.Printf("os.Stat %s failed\n", path)
return
}
mode := fileInfo.Mode()