From 742c3b2f1089f15ad7ac4d169c5d3299984e9692 Mon Sep 17 00:00:00 2001 From: librelad Date: Mon, 25 May 2026 13:53:57 +0100 Subject: [PATCH] style(install): show only helper name in install success line The root-owned helpers all live in the same fixed dir, so printing the full /usr/local/lib/libreportal/... path on each success line was long and repetitive. Use the bare helper name, matching the error branch below. Co-Authored-By: Claude Opus 4.7 Signed-off-by: librelad --- init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 388ef41..98b577b 100755 --- a/init.sh +++ b/init.sh @@ -823,7 +823,7 @@ initRootHelpers() sed "s/__MANAGER__/${sudo_user_name}/g" "$helper_src" > "$helper_tmp" if bash -n "$helper_tmp" 2>/dev/null; then sudo install -m 0755 -o root -g root "$helper_tmp" "$helper_dst" - isSuccessful "Installed root-owned helper ($helper_dst)." + isSuccessful "Installed root-owned helper ($helper)." else isError "Refusing to install a malformed root helper ($helper)." fi