Merge branch 'copy_and_paste_error' of https://github.com/Luflosi/kitty
This commit is contained in:
commit
2b78f5adad
@ -137,7 +137,7 @@ read_exe_path(char *exe, size_t buf_sz) {
|
|||||||
|
|
||||||
static inline bool
|
static inline bool
|
||||||
read_exe_path(char *exe, size_t buf_sz) {
|
read_exe_path(char *exe, size_t buf_sz) {
|
||||||
if (!safe_realpath("/proc/curproc/exe", exe, buf_sz)) { fprintf(stderr, "Failed to read /proc/self/exe\n"); return false; }
|
if (!safe_realpath("/proc/curproc/exe", exe, buf_sz)) { fprintf(stderr, "Failed to read /proc/curproc/exe\n"); return false; }
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user