From e13e20f0b9c08688c25788c8ac80f3f91451641b 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 e4b7217..916f2f9 100755 --- a/build.sh +++ b/build.sh @@ -418,7 +418,7 @@ else echo "pve-xtermjs up-to-date" fi -PROXMOX_JOURNALREADER_VER="1.6" +PROXMOX_JOURNALREADER_VER="1.6-1" PROXMOX_JOURNALREADER_GIT="b09ee543344fb7082a27346ecb0008f38af6367d" 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..bd02a39 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.6-1) trixie; urgency=medium ++ ++ * fix ERROR: invalid option or missing argument ++ ++ -- Wolfgang Sat, 23 Aug 2025 08:46:01 +0200 ++ + proxmox-mini-journalreader (1.6) trixie; urgency=medium + + * rebuild for Debian 13 "Trixie" based Proxmox releases.