Fix sig bug in AutoUpdate

pull/53/head v0.0.19
rwxrob 3 years ago
parent f09dbf59e0
commit d215d19406
No known key found for this signature in database
GPG Key ID: 2B9111F33082AE77

@ -60,7 +60,7 @@ var Exe string
// will be fetched from sumurl and used to validate the download before
// making the replacement. For security reasons, no backup copy of the
// replaced executable is kept. Also see AutoUpdate.
func ReplaceSelf(url, sumurl, string) error {
func ReplaceSelf(url, sumurl string) error {
exe, err := os.Executable()
if err != nil {
return err

Loading…
Cancel
Save