Skip to content

Commit

Permalink
Oopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
LithiumOx committed Nov 22, 2023
1 parent 50a47d8 commit 534a15d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
3 changes: 1 addition & 2 deletions src/group/heredoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: mdekker/jde-baai <team@codam.nl> +#+ */
/* +#+ */
/* Created: 2023/08/16 12:15:45 by mdekker/jde #+# #+# */
/* Updated: 2023/11/22 14:16:17 by mdekker ######## odam.nl */
/* Updated: 2023/11/22 14:22:03 by mdekker ######## odam.nl */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -72,7 +72,6 @@ static void heredoc(char *filename, t_token *token, t_shell *data)
*/
bool hdoc_child(char *filename, t_token *token, t_shell *data)
{
int heredoc_fd;
pid_t pid;
int status;

Expand Down
13 changes: 1 addition & 12 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: mdekker/jde-baai <team@codam.nl> +#+ */
/* +#+ */
/* Created: 2023/07/12 14:11:01 by mdekker/jde #+# #+# */
/* Updated: 2023/11/22 14:20:16 by mdekker ######## odam.nl */
/* Updated: 2023/11/22 14:27:56 by mdekker ######## odam.nl */
/* */
/* ************************************************************************** */

Expand All @@ -24,15 +24,6 @@ static void setup_signals(void)
signal(SIGQUIT, SIG_IGN);
}

static void debug(void)
{
printf("\033[1;32m●\n");
printf("\033[1;34m│\n");
printf("├── Debug mode enabled\n");
printf("\033[1;34m│\n");
printf("\033[0m");
}

static void soft_exit(char *input, t_shell *data)
{
write_err(data);
Expand Down Expand Up @@ -100,8 +91,6 @@ int main(int ac, char **av, char **env)
t_shell *data;

(void)av;
if (DEBUG)
debug();
if (ac != 1)
{
write(2, "Too maaaaaaaaaaany arguments\n", 20);
Expand Down

0 comments on commit 534a15d

Please sign in to comment.