Skip to content

Commit

Permalink
Merge pull request #124 from AngleOSaxon/pdf_fix
Browse files Browse the repository at this point in the history
Prevent finding PID of xochitl_pdf_renderer when seeking framebuffer
  • Loading branch information
owulveryck authored Dec 26, 2024
2 parents 0eb53e1 + dc6d90e commit faf29d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/remarkable/findpid.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"log"
"os"
"path/filepath"
"strings"
)

func findXochitlPID() string {
Expand Down Expand Up @@ -33,7 +32,7 @@ func findXochitlPID() string {
if err != nil {
continue
}
if strings.Contains(orig, "/usr/bin/xochitl") {
if orig == "/usr/bin/xochitl" {
return pid
}
}
Expand Down

0 comments on commit faf29d8

Please sign in to comment.