Projet

Général

Profil

Révision 1e4af651

Ajouté par Julien Enselme il y a environ 10 ans

Check_arguments must use exit and no return

Voir les différences:

bin/scripts-utils.sh
51 51
    if [ $1 -lt $2  ] ; then
52 52
        echo "Number of arguments insuffisant."
53 53
	echo -e $3
54
        return 1
54
        exit 1
55 55
    fi
56 56
}
57 57

  

Formats disponibles : Unified diff