Use variable in error message instead of constructing it again

This commit is contained in:
kaklakariada 2016-03-12 07:42:18 +01:00
parent 0705f65336
commit f8ad8f34b1

2
le.sh
View File

@ -776,7 +776,7 @@ issue() {
addcommand="$Le_Webroot-add" addcommand="$Le_Webroot-add"
if ! command -v $addcommand ; then if ! command -v $addcommand ; then
_err "It seems that your api file is not correct, it must have a function named: $Le_Webroot-add" _err "It seems that your api file is not correct, it must have a function named: $addcommand"
return 1 return 1
fi fi