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