Skip to content

Commit

Permalink
Fix rebase whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany committed Nov 21, 2023
1 parent 930bbab commit 325366e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ee/tuf/finalize_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,10 @@ func getInterpreter(executableLocation string) (string, error) {
return "", fmt.Errorf("reading .interp section: %w", err)
}

<<<<<<< HEAD
// interpData should look something like "/lib64/ld-linux-x86-64.so.2"
return filepath.Base(string(interpData)), nil
=======
trimmedInterpData := bytes.TrimRight(interpData, "\x00")

// interpData should look something like "/lib64/ld-linux-x86-64.so.2" -- grab just the filename
return filepath.Base(string(trimmedInterpData)), nil
>>>>>>> 2741611e2760c9376e13a42d3ca8613bfe5253fb
}

func findInterpreterInNixStore(interpreter string) (string, error) {
Expand Down

0 comments on commit 325366e

Please sign in to comment.