From 70a3be91a2c5efe724280575e554cc5cd034950d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 16 Feb 2025 14:19:36 +0000 Subject: [PATCH] archive: Reformat arguments for systemd-sysusers Signed-off-by: Michael Tremer --- src/pakfire/archive.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pakfire/archive.c b/src/pakfire/archive.c index 44419b14..980233cd 100644 --- a/src/pakfire/archive.c +++ b/src/pakfire/archive.c @@ -1925,10 +1925,16 @@ static int pakfire_archive_handle_systemd_sysusers(struct pakfire_archive* archi // Format --replace r = pakfire_string_format(replace, "--replace=/%s", path); - if (r) + if (r < 0) goto ERROR; - const char* argv[] = { "/usr/bin/systemd-sysusers", replace, "-", NULL }; + const char* argv[] = { + "/usr/bin/systemd-sysusers", + "--no-pager", + replace, + "-", + NULL, + }; // Create a new jail r = pakfire_jail_create(&jail, archive->pakfire); -- 2.39.5