Browse Source

Fix static analysis failures

Bob Mottram 7 years ago
parent
commit
4060c44e4e
3 changed files with 3 additions and 0 deletions
  1. 1
    0
      src/freedombone-app-cryptpad
  2. 1
    0
      src/freedombone-app-peertube
  3. 1
    0
      src/freedombone-app-pelican

+ 1
- 0
src/freedombone-app-cryptpad View File

339
 }
339
 }
340
 
340
 
341
 function mesh_install_cryptpad {
341
 function mesh_install_cryptpad {
342
+    # shellcheck disable=SC2153
342
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
343
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
343
         return
344
         return
344
     fi
345
     fi

+ 1
- 0
src/freedombone-app-peertube View File

618
 }
618
 }
619
 
619
 
620
 function mesh_install_peertube {
620
 function mesh_install_peertube {
621
+    # shellcheck disable=SC2153
621
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
622
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" ]]; then
622
         return
623
         return
623
     fi
624
     fi

+ 1
- 0
src/freedombone-app-pelican View File

756
 }
756
 }
757
 
757
 
758
 function mesh_install_pelican {
758
 function mesh_install_pelican {
759
+    # shellcheck disable=SC2153
759
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" && "$VARIANT" != "usb" ]]; then
760
     if [[ "$VARIANT" != "meshclient" && "$VARIANT" != "meshusb" && "$VARIANT" != "usb" ]]; then
760
         return
761
         return
761
     fi
762
     fi