summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:09:20 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-30 18:09:20 +0200
commitb71bbb4deb0cd1518adf594545cbe30b415070cc (patch)
tree09238927c97159a9d63abd6924c4688c6b0babf9 /src
parentNormed b_sqb (diff)
download42-minishell-b71bbb4deb0cd1518adf594545cbe30b415070cc.tar.gz
42-minishell-b71bbb4deb0cd1518adf594545cbe30b415070cc.tar.bz2
42-minishell-b71bbb4deb0cd1518adf594545cbe30b415070cc.tar.xz
42-minishell-b71bbb4deb0cd1518adf594545cbe30b415070cc.tar.zst
42-minishell-b71bbb4deb0cd1518adf594545cbe30b415070cc.zip
Normed b_sqb
Diffstat (limited to '')
-rw-r--r--src/b_sqb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/b_sqb.c b/src/b_sqb.c
index d0e6daf..2ecf0cd 100644
--- a/src/b_sqb.c
+++ b/src/b_sqb.c
@@ -80,8 +80,12 @@ uint8_t b_sqb(char *args[], t_msh *msh)
return (2);
}
if (argc == 1)
+ {
return (1);
+ }
else if (argc == 2)
+ {
return (0);
+ }
return (b_eval_sqb(args, msh));
}