summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2020-08-03 15:41:04 +0200
committerFlorian Eckert <fe@dev.tdt.de>2020-08-03 15:47:32 +0200
commitb567333db60d9fc993900a8dfb0cf447ba0dc637 (patch)
tree7615025b56568c9916c41b1482c18509923e4ca6
parent1c67444c33d85cd74d3a68d1a251626342554f03 (diff)
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 <fe@dev.tdt.de>
-rw-r--r--utils/ttyd/Makefile2
-rw-r--r--utils/ttyd/files/ttyd.init2
2 files changed, 2 insertions, 2 deletions
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