From 257a2f0dc8c935996a4e6c8cfd9dcb42c70e2aeb Mon Sep 17 00:00:00 2001 From: marcusDenslow Date: Sun, 8 Jun 2025 09:06:46 +0200 Subject: [PATCH] going back heloo --- line_reader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/line_reader.c b/line_reader.c index 63c3cfe..50cc787 100644 --- a/line_reader.c +++ b/line_reader.c @@ -1431,6 +1431,7 @@ char ***lsh_split_piped_line(char *line) { cmd_str = strtok_r(NULL, "|", &save_ptr); } + // here is a change commands[cmd_position] = NULL; return commands;