fix: typoes

This commit is contained in:
levasseur
2021-10-08 11:30:08 +02:00
parent b5058d7f5b
commit de3a8fb0cc
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ backupdist()
local file= local file=
for file in $@; do for file in $@; do
local tmstmp=$(stdtime) local tmstmp=$(stdtime)
if [[ - L ${file} ]]; then if [[ -L ${file} ]]; then
# With symbolik links we call again backupdist to treat target # With symbolik links we call again backupdist to treat target
backupdist $(readlink -f ${file}) backupdist $(readlink -f ${file})
elif [[ -f ${file} ]]; then elif [[ -f ${file} ]]; then

View File

@@ -103,7 +103,7 @@ export -f show_version
# Get module name from module file # Get module name from module file
get_mod_name() get_mod_name()
{ {
if [[ $# -ne 1 ]] then if [[ $# -ne 1 ]]; then
prnt E "get_mod_name(): Bad number of parameters." prnt E "get_mod_name(): Bad number of parameters."
die 11 --force die 11 --force
fi fi