* applied: [PATCH access-control] token config: have module return a true value
@ 2026-03-09 15:19 Fiona Ebner
0 siblings, 0 replies; only message in thread
From: Fiona Ebner @ 2026-03-09 15:19 UTC (permalink / raw)
To: pve-devel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-03-09 15:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-09 15:19 applied: [PATCH access-control] token config: have module return a true value Fiona Ebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox