fix: syslog not working in web ui (fixes #66)

Signed-off-by: Wolfgang <github@linux-dude.de>
This commit is contained in:
Wolfgang
2025-08-23 06:57:37 +00:00
parent 3925cbdf64
commit e13e20f0b9
2 changed files with 17 additions and 3 deletions

View File

@@ -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

View File

@@ -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 <github@proxmox.com> Sat, 23 Aug 2025 08:46:01 +0200
+
proxmox-mini-journalreader (1.6) trixie; urgency=medium
* rebuild for Debian 13 "Trixie" based Proxmox releases.