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