Stop addon if error

This commit is contained in:
Alexandre
2023-03-04 07:37:14 +01:00
committed by GitHub
parent 1cd853c0cb
commit 965f44a71d

View File

@@ -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