summaryrefslogtreecommitdiffstats
path: root/src/f_shlvl.c
blob: 58fedb06903d1f6f70c973acccc329c7d98c8e80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   f_shlvl.c                                          :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rbousset <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:19:27 by rbousset          #+#    #+#             */
/*   Updated: 2020/02/14 17:19:29 by rbousset         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#include <libft.h>

void	f_shlvl_too_high(int shlvl)
{
	ft_dprintf(2,
		"minishell: warning: shell level (%d) too high, resetting to 1\n",
		shlvl + 1);
}