Last-Update: 2018-07-05
Forwarded: https://github.com/mitchellh/panicwrap/issues/22
Bug-Upstream: https://github.com/mitchellh/panicwrap/issues/22
Author: Dmitry Smirnov <onlyjob@debian.org>
Description: removed "kardianos/osext" which is obsolete on go-1.8+

--- a/panicwrap.go
+++ b/panicwrap.go
@@ -20,9 +20,8 @@
 	"sync/atomic"
 	"syscall"
 	"time"
 
-	"github.com/kardianos/osext"
 )
 
 const (
 	DEFAULT_COOKIE_KEY = "cccf35992f8f3cd8d1d28f0109dd953e26664531"
@@ -117,9 +116,9 @@
 		return -1, nil
 	}
 
 	// Get the path to our current executable
-	exePath, err := osext.Executable()
+	exePath, err := os.Executable()
 	if err != nil {
 		return -1, err
 	}
 
