Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions proc_parent.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ func (mp *parent) checkBinary() error {
if err != nil {
return fmt.Errorf("failed to find binary path (%s)", err)
}
binPath, err = filepath.EvalSymlinks(binPath)
if err != nil {
return fmt.Errorf("failed to eval symlink (%s)", err)
}
mp.binPath = binPath
if info, err := os.Stat(binPath); err != nil {
return fmt.Errorf("failed to stat binary (%s)", err)
Expand Down