]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/exec-invoke: voidify one rename_process call
authorMike Yuan <me@yhndnzj.com>
Fri, 8 Dec 2023 11:46:53 +0000 (19:46 +0800)
committerMike Yuan <me@yhndnzj.com>
Fri, 8 Dec 2023 11:46:53 +0000 (19:46 +0800)
src/core/exec-invoke.c

index 45600671863fe9c7c59f1083858e5d67d2059d5b..b0f8e1178ecd184a05333a4b51b90ee9f567f024 100644 (file)
@@ -1345,7 +1345,7 @@ static void rename_process_from_path(const char *path) {
         process_name[1+l] = ')';
         process_name[1+l+1] = 0;
 
-        rename_process(process_name);
+        (void) rename_process(process_name);
 }
 
 static bool context_has_address_families(const ExecContext *c) {