Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: kolide/launcher
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: df8c37763f6ecf999c073bea114fb4cc2085186d
Choose a base ref
..
head repository: kolide/launcher
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7519e945c9a03da43bb4d1322bb3270fc3509a66
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 ee/tuf/finalize_linux.go
2 changes: 1 addition & 1 deletion ee/tuf/finalize_linux.go
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ func patchExecutable(executableLocation string) error {
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()

cmd := allowedcmd.Patchelf(ctx, "--set-interpreter", interpreter, executableLocation)
cmd := allowedcmd.Patchelf(ctx, "--set-interpreter", interpreterLocation, executableLocation)

Check failure on line 29 in ee/tuf/finalize_linux.go

GitHub Actions / launcher (ubuntu-20.04)

undefined: allowedcmd

Check failure on line 29 in ee/tuf/finalize_linux.go

GitHub Actions / lint (ubuntu-latest)

undefined: allowedcmd) (typecheck)

Check failure on line 29 in ee/tuf/finalize_linux.go

GitHub Actions / lint (ubuntu-latest)

undefined: allowedcmd) (typecheck)

Check failure on line 29 in ee/tuf/finalize_linux.go

GitHub Actions / lint (ubuntu-latest)

undefined: allowedcmd) (typecheck)

Check failure on line 29 in ee/tuf/finalize_linux.go

GitHub Actions / lint (ubuntu-latest)

undefined: allowedcmd) (typecheck)
if out, err := cmd.CombinedOutput(); err != nil {
return fmt.Errorf("running patchelf: output `%s`, error `%w`", string(out), err)
}