2021-11-07 19:23:37
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2021/11/04 10:58:16 by gbaconni #+# #+# #
|
||||
# Updated: 2021/11/07 15:16:40 by gbaconni ### lausanne.ch #
|
||||
# Updated: 2021/11/07 19:22:52 by gbaconni ### lausanne.ch #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
@@ -126,13 +126,14 @@ ft_bonus ()
|
||||
|
||||
main ()
|
||||
{
|
||||
user=${1-marvin}
|
||||
if [ "${user}" == "marvin" ]
|
||||
port=${1-4242}
|
||||
user=${2-marvin}
|
||||
if [ "${user}" == "marvin" ] || [ "${port}" == "marvin" ]
|
||||
then
|
||||
echo "Are you sad today, Marvin?"
|
||||
echo "$(basename $0) <port> <user>"
|
||||
exit 1
|
||||
fi
|
||||
port=${2-4242}
|
||||
ft_apt ${user}
|
||||
ft_editor ${user}
|
||||
ft_ssh ${user}
|
||||
|
||||
Reference in New Issue
Block a user