Merge branch 'copy_and_paste_error' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2019-06-23 07:27:22 +05:30
commit 2b78f5adad
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -137,7 +137,7 @@ read_exe_path(char *exe, size_t buf_sz) {
static inline bool
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;
}