Fix static analysis failures

This commit is contained in:
Bob Mottram 2018-03-02 19:44:18 +00:00
parent c4b091c281
commit 4060c44e4e
3 changed files with 3 additions and 0 deletions

View File

@ -339,6 +339,7 @@ function cryptpad_create_config {
}
function mesh_install_cryptpad {
# shellcheck disable=SC2153
if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
return
fi

View File

@ -618,6 +618,7 @@ function peertube_create_config {
}
function mesh_install_peertube {
# shellcheck disable=SC2153
if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
return
fi

View File

@ -756,6 +756,7 @@ function pelican_themes {
}
function mesh_install_pelican {
# shellcheck disable=SC2153
if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" && "$VARIANT" != "usb" ]]; then
return
fi