diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-23 11:20:39 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-07-23 11:39:45 +0200 |
commit | 3e24e8cd647478b3d161f1887785132e334e5df5 (patch) | |
tree | 4b8a5245b590c84e103d79bf63c518a25cb23a74 /src/shared/spawn-ask-password-agent.c | |
parent | basic/process-util: use xsprintf() in one more place (diff) | |
download | systemd-3e24e8cd647478b3d161f1887785132e334e5df5.tar.xz systemd-3e24e8cd647478b3d161f1887785132e334e5df5.zip |
Move fork_agent() into shared/
Currently it's only used in two places in src/shared/, so the function was
already included just once in compiled code. But it seems appropriate to
move it there anyway, because library code should have no need to fork
agents, so it doesn't belong in basic/.
Diffstat (limited to 'src/shared/spawn-ask-password-agent.c')
-rw-r--r-- | src/shared/spawn-ask-password-agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/spawn-ask-password-agent.c b/src/shared/spawn-ask-password-agent.c index 1f07b198fa..38fab21203 100644 --- a/src/shared/spawn-ask-password-agent.c +++ b/src/shared/spawn-ask-password-agent.c @@ -4,6 +4,7 @@ #include <stdlib.h> #include <unistd.h> +#include "exec-util.h" #include "log.h" #include "process-util.h" #include "spawn-ask-password-agent.h" |