fixes #4497
This commit is contained in:
parent
f1e77d3124
commit
3193a99b13
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ when declared(getEnv) or defined(nimscript):
|
|||
if existsFile(x):
|
||||
when not defined(windows) and declared(os):
|
||||
while followSymlinks: # doubles as if here
|
||||
if x.checkSymlink:
|
||||
if x.isAbsolute and x.checkSymlink:
|
||||
var r = newString(256)
|
||||
var len = readlink(x, r, 256)
|
||||
if len < 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue