few fix and typoes
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
# errors with immediate exit.
|
||||
read_commandline()
|
||||
{
|
||||
syntax_error()
|
||||
{
|
||||
prnt E "Erreur d'analyse de la ligne de commande, vérifiez vos paramètres."
|
||||
die 1
|
||||
}
|
||||
|
||||
# Processing command line options
|
||||
local want_module=false
|
||||
local want_logfile=false
|
||||
@@ -99,8 +105,7 @@ read_commandline()
|
||||
|
||||
# If those var are true at that point, something is wrong
|
||||
if [[ $want_logfile == true ]] || [[ $want_module == true ]]; then
|
||||
prnt E "Erreur de syntaxe dans la ligne de commande."
|
||||
die 1
|
||||
syntax_error
|
||||
fi
|
||||
}
|
||||
export -f read_commandline
|
||||
|
||||
Reference in New Issue
Block a user