From: Florian Eckert Date: Mon, 3 Aug 2020 13:41:04 +0000 (+0200) Subject: ttyd: fix debug config option X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b567333db60d9fc993900a8dfb0cf447ba0dc637;p=openwrt-packages.git ttyd: fix debug config option Append missing debug option value. If this is not append and the debug option is selected, then we get the following error output on ttyd start. > ttyd: missing start command To fix this add missing debug option value. Signed-off-by: Florian Eckert --- diff --git a/utils/ttyd/Makefile b/utils/ttyd/Makefile index 2e195f821..3e2c7a9a0 100644 --- a/utils/ttyd/Makefile +++ b/utils/ttyd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ttyd PKG_VERSION:=1.6.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)? diff --git a/utils/ttyd/files/ttyd.init b/utils/ttyd/files/ttyd.init index 7206ff742..0a3d440a9 100644 --- a/utils/ttyd/files/ttyd.init +++ b/utils/ttyd/files/ttyd.init @@ -79,7 +79,7 @@ ttyd_instance() ${ssl_cert:+-C $ssl_cert} \ ${ssl_key:+-K $ssl_key} \ ${ssl_ca:+-A $ssl_ca} \ - ${debug:+-d} + ${debug:+-d $debug} config_list_foreach "$1" client_option "procd_append_param command -t" procd_append_param command $command procd_set_param stdout 1