1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
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
}
|