summaryrefslogtreecommitdiffhomepage
path: root/runsc/specutils/specutils.go
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/specutils/specutils.go')
-rw-r--r--runsc/specutils/specutils.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/runsc/specutils/specutils.go b/runsc/specutils/specutils.go
index 7b0dcf231..4e7893ab4 100644
--- a/runsc/specutils/specutils.go
+++ b/runsc/specutils/specutils.go
@@ -315,16 +315,6 @@ func IsSupportedDevMount(m specs.Mount) bool {
return true
}
-// BinPath returns the real path to self, resolving symbolink links. This is done
-// to make the process name appears as 'runsc', instead of 'exe'.
-func BinPath() (string, error) {
- binPath, err := filepath.EvalSymlinks(ExePath)
- if err != nil {
- return "", fmt.Errorf(`error resolving %q symlink: %v`, ExePath, err)
- }
- return binPath, nil
-}
-
const (
// ContainerdContainerTypeAnnotation is the OCI annotation set by
// containerd to indicate whether the container to create should have