Use variable in error message instead of constructing it again
This commit is contained in:
parent
0705f65336
commit
f8ad8f34b1
2
le.sh
2
le.sh
@ -776,7 +776,7 @@ issue() {
|
||||
|
||||
addcommand="$Le_Webroot-add"
|
||||
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
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user