aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_check_missing.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_check_missing.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_check_missing.c b/src/ft_check_missing.c
index 80edf83..51c0c23 100644
--- a/src/ft_check_missing.c
+++ b/src/ft_check_missing.c
@@ -44,6 +44,8 @@ static int
return (ft_missing_error(FT_ERR_MISS_NLVL, clist));
else if (clist->mlist.isnlvl && !clist->mlist.nlevel_path[0])
return (ft_missing_error(FT_ERR_MISS_NLVL_PATH, clist));
+ if (clist->mlist.istraps && !clist->mlist.traps_path[0])
+ return (ft_missing_error(FT_ERR_MISS_TRAP, clist));
return (0);
}