Forced the evaluation of symlinks
This commit is contained in:
parent
2d592169e4
commit
00e7216256
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,12 @@ func init() {
|
|||
panic(err)
|
||||
}
|
||||
|
||||
Executable, err = filepath.EvalSymlinks(Executable)
|
||||
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
WorkingDirectory, err = os.Getwd()
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue