From 991cd051ebcbc0931e8f8c7b499a116db16600f9 Mon Sep 17 00:00:00 2001 From: Wolfgang Date: Sat, 23 Aug 2025 06:57:37 +0000 Subject: [PATCH] fix: syslog not working in web ui (fixes #66) Signed-off-by: Wolfgang --- build.sh | 2 +- patches/proxmox-mini-journalreader.patch | 18 ++++++++++++++++-- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index d1eac31..d8eb444 100755 --- a/build.sh +++ b/build.sh @@ -428,7 +428,7 @@ else echo "pve-xtermjs up-to-date" fi -PROXMOX_JOURNALREADER_VER="1.5" +PROXMOX_JOURNALREADER_VER="1.5-1" PROXMOX_JOURNALREADER_GIT="a3afed6c1a743525b00d514ffc066e523784dcf3" if [ ! -e "${PACKAGES}/proxmox-mini-journalreader_${PROXMOX_JOURNALREADER_VER}_${PACKAGE_ARCH}.deb" ]; then git_clone_or_fetch https://git.proxmox.com/git/proxmox-mini-journalreader.git diff --git a/patches/proxmox-mini-journalreader.patch b/patches/proxmox-mini-journalreader.patch index a9995c3..55d8d07 100644 --- a/patches/proxmox-mini-journalreader.patch +++ b/patches/proxmox-mini-journalreader.patch @@ -29,8 +29,22 @@ index 0489d4a..8fccb99 100644 progname = argv[0]; - while ((c = (char)getopt(argc, argv, "b:e:d:n:f:t:jh")) != -1) { -+ while ((getopt(argc, argv, "b:e:d:n:f:t:jh")) != -1) { -+ c = (char) opt; ++ while ((opt = getopt(argc, argv, "b:e:d:n:f:t:jh")) != -1) { ++ c = (char) opt; switch (c) { case 'b': begin = arg_to_uint64(optarg); +diff --git a/debian/changelog b/debian/changelog +index 9cb9914..3575f4f 100644 +--- a/debian/changelog ++++ b/debian/changelog +@@ -1,3 +1,9 @@ ++proxmox-mini-journalreader (1.5-1) bookworm; urgency=medium ++ ++ * fix ERROR: invalid option or missing argument ++ ++ -- Wolfgang Sat, 23 Aug 2025 08:46:01 +0200 ++ + proxmox-mini-journalreader (1.5) bookworm; urgency=medium + + * install executable as /usr/libexec/proxmox-mini-journalreader with a