소스 검색

Fix #523: create NNN_PIPE early

master
Arun Prakash Jana 4 년 전
부모
커밋
e92b523976
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      src/nnn.c

+ 3
- 3
src/nnn.c 파일 보기

@@ -4179,14 +4179,14 @@ static bool run_selected_plugin(char **path, const char *file, char *runfile, ch
int fd;
size_t len;

if (*file == '_')
return run_cmd_as_plugin(*path, file, runfile);

if (!(g_states & STATE_PLUGIN_INIT)) {
plctrl_init();
g_states |= STATE_PLUGIN_INIT;
}

if (*file == '_')
return run_cmd_as_plugin(*path, file, runfile);

fd = open(g_pipepath, O_RDONLY | O_NONBLOCK);
if (fd == -1)
return FALSE;


불러오는 중...
취소
저장