self-diagnostics: substitute possible slashes in report names

This commit is contained in:
Roman Azarenko 2023-11-14 09:10:49 +00:00 committed by Vivek Kumar Dutta
parent 2dac7741d4
commit 237f30c3f7
10 changed files with 48 additions and 48 deletions

View file

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=self-diagnostics
PKG_VERSION:=1.0.2
PKG_VERSION:=1.0.3
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0-only

View file

@ -77,7 +77,7 @@ config_load()
[ -n "${temp}" ] && \
REPORT_NAME="$(eval echo ${temp})"
REPORT_NAME="${REPORT_NAME// /_}"
REPORT_NAME="${REPORT_NAME//[ \/]/_}"
temp="$(uci -q get self-diagnostics.globals.compression_level)"
[ -n "${temp}" ] && \