Skip to content

Commit ba45073

Browse files
committed
CI: fix windows build
1 parent a3c3f38 commit ba45073

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/terminalshell/terminalshell_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ const FFShellResult* ffDetectShell(void)
369369
ffStrbufInit(&result.exePath);
370370
ffStrbufInit(&result.prettyName);
371371
ffStrbufInit(&result.version);
372-
ffStrbufInit(&result.tty);
373372
result.pid = 0;
374373
result.ppid = 0;
375374
result.tty = -1;
@@ -407,6 +406,7 @@ const FFTerminalResult* ffDetectTerminal(void)
407406
ffStrbufInit(&result.exePath);
408407
ffStrbufInit(&result.prettyName);
409408
ffStrbufInit(&result.version);
409+
ffStrbufInit(&result.tty);
410410
result.pid = 0;
411411
result.ppid = 0;
412412

0 commit comments

Comments
 (0)