Forced the evaluation of symlinks
This commit is contained in:
parent
fff21230d7
commit
fc1b970f7f
@ -25,6 +25,12 @@ func init() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Executable, err = filepath.EvalSymlinks(Executable)
|
||||||
|
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
WorkingDirectory, err = os.Getwd()
|
WorkingDirectory, err = os.Getwd()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user