mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Stop addon if error
This commit is contained in:
@@ -117,6 +117,9 @@ if bashio::config.has_value 'networkdisks'; then
|
||||
|
||||
done
|
||||
|
||||
if [ -f ERRORCODE ]; then rm ERRORCODE*; fi
|
||||
if [ -f ERRORCODE ]; then
|
||||
rm ERRORCODE*
|
||||
bashio::addon.stop
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user