shellcheck fixes

This commit is contained in:
Tobias Powalowski 2022-11-23 17:29:10 +01:00
parent 95a59856b1
commit 01afde9888

View file

@ -473,6 +473,7 @@ _full_system() {
exit 0
fi
# higher _ZRAM_SIZE is needed for plasma environment 200MB safety buffer
#shellcheck disable=SC2001,SC2086
_ZRAM_VALUE="$(echo ${_ZRAM_SIZE} | sed -e 's#[A-Z]##g')"
if [[ "${_ZRAM_VALUE}" -lt "4000" ]]; then
_ZRAM_SIZE="4000M"