public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: applied: [PATCH access-control] token config: have module return a true value
Date: Mon,  9 Mar 2026 16:19:00 +0100	[thread overview]
Message-ID: <20260309151931.154307-1-f.ebner@proxmox.com> (raw)

Currently, the implicit return value from cfs_register_file()
accidentally makes the module return a true value. The
cfs_register_file() function only implicitly returns something, so a
future change there could easily break compilation with the mostly
unrelated module here.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
---
 src/PVE/TokenConfig.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/PVE/TokenConfig.pm b/src/PVE/TokenConfig.pm
index dfff54b..bad133f 100644
--- a/src/PVE/TokenConfig.pm
+++ b/src/PVE/TokenConfig.pm
@@ -86,3 +86,5 @@ sub delete_token {
 
     die "$@\n" if defined($@);
 }
+
+1;
-- 
2.47.3





                 reply	other threads:[~2026-03-09 15:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260309151931.154307-1-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal