mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-04 20:22:30 +02:00
Update 00-smb_mounts.sh
This commit is contained in:
@@ -7,7 +7,7 @@ set -e
|
|||||||
# DEFINE FUNCTIONS #
|
# DEFINE FUNCTIONS #
|
||||||
####################
|
####################
|
||||||
|
|
||||||
test_mount () {
|
test_mount {
|
||||||
|
|
||||||
# Set initial test
|
# Set initial test
|
||||||
MOUNTED=false
|
MOUNTED=false
|
||||||
@@ -50,6 +50,7 @@ mount_drive () {
|
|||||||
|
|
||||||
# Test if succesful
|
# Test if succesful
|
||||||
if [[ "$MOUNTED" == "true" ]]; then
|
if [[ "$MOUNTED" == "true" ]]; then
|
||||||
|
# shellcheck disable=SC2015
|
||||||
test_mount
|
test_mount
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user