summaryrefslogtreecommitdiffstats
path: root/src/e_externs.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-06 17:51:13 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-06 17:51:13 +0200
commit7262c6bb1d1608614700945e87fd5cd9ca6eef32 (patch)
treee170485dc7c22a3facba30e61c80ea75d3dcbcc8 /src/e_externs.c
parentRemoved useless bloat (diff)
download42-minishell-7262c6bb1d1608614700945e87fd5cd9ca6eef32.tar.gz
42-minishell-7262c6bb1d1608614700945e87fd5cd9ca6eef32.tar.bz2
42-minishell-7262c6bb1d1608614700945e87fd5cd9ca6eef32.tar.xz
42-minishell-7262c6bb1d1608614700945e87fd5cd9ca6eef32.tar.zst
42-minishell-7262c6bb1d1608614700945e87fd5cd9ca6eef32.zip
In progress, trying to redirect correctly
Diffstat (limited to 'src/e_externs.c')
-rw-r--r--src/e_externs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/e_externs.c b/src/e_externs.c
index 93d989f..32596c3 100644
--- a/src/e_externs.c
+++ b/src/e_externs.c
@@ -64,7 +64,7 @@ void
char **envpath;
char *fullpath;
- if (ft_ischarset("/.", ptr->com[0]))
+ if (ft_ischarset("./", ptr->com[0]))
{
exec_path(ptr->com, ptr, msh);
return ;