oh my word i'm an idiot
This commit is contained in:
parent
d8c49feae5
commit
c1fc07de50
@ -105,7 +105,7 @@ func RealPathExists(path *string) (bool, error) {
|
||||
if err != nil {
|
||||
return true, err
|
||||
}
|
||||
if _, err := os.Stat(*path); err == nil {
|
||||
if _, err := os.Stat(*path); err != nil {
|
||||
return false, err
|
||||
}
|
||||
return true, nil
|
||||
|
Loading…
Reference in New Issue
Block a user