mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-30 09:50:31 +02:00
Removed Exit 1
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
# Home assistant add-on: alexbelgium
|
||||
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
||||
![update-badge]
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
@@ -37,7 +37,6 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
# Data validation
|
||||
if [[ ! $disk =~ ^.*+[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+[/]+.*+$ ]]; then
|
||||
bashio::log.fatal "The structure of your <networkdisks> doesn't seem correct, please use a structure like //123.12.12.12/sharedfolder,//123.12.12.12/sharedfolder2"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Prepare mount point
|
||||
|
||||
Reference in New Issue
Block a user