Skip to content

Commit faf29d8

Browse files
authored
Merge pull request #124 from AngleOSaxon/pdf_fix
Prevent finding PID of xochitl_pdf_renderer when seeking framebuffer
2 parents 0eb53e1 + dc6d90e commit faf29d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/remarkable/findpid.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"log"
55
"os"
66
"path/filepath"
7-
"strings"
87
)
98

109
func findXochitlPID() string {
@@ -33,7 +32,7 @@ func findXochitlPID() string {
3332
if err != nil {
3433
continue
3534
}
36-
if strings.Contains(orig, "/usr/bin/xochitl") {
35+
if orig == "/usr/bin/xochitl" {
3736
return pid
3837
}
3938
}

0 commit comments

Comments
 (0)