util-lib: split out printf() helpers to stdio-util.h
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "rlimit-util.h"
|
||||
#include "set.h"
|
||||
#include "signal-util.h"
|
||||
#include "stdio-util.h"
|
||||
#include "string-util.h"
|
||||
#include "strv.h"
|
||||
#include "syslog-util.h"
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "fd-util.h"
|
||||
#include "io-util.h"
|
||||
#include "parse-util.h"
|
||||
#include "stdio-util.h"
|
||||
#include "utf8.h"
|
||||
#include "util.h"
|
||||
#include "virt.h"
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "log.h"
|
||||
#include "process-util.h"
|
||||
#include "spawn-polkit-agent.h"
|
||||
#include "stdio-util.h"
|
||||
#include "util.h"
|
||||
|
||||
#ifdef ENABLE_POLKIT
|
||||
@@ -78,8 +79,9 @@ void polkit_agent_close(void) {
|
||||
return;
|
||||
|
||||
/* Inform agent that we are done */
|
||||
kill(agent_pid, SIGTERM);
|
||||
kill(agent_pid, SIGCONT);
|
||||
(void) kill(agent_pid, SIGTERM);
|
||||
(void) kill(agent_pid, SIGCONT);
|
||||
|
||||
(void) wait_for_terminate(agent_pid, NULL);
|
||||
agent_pid = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user