core: vodify one more call to mkdir

CID #1400460.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-04-12 09:03:52 +02:00
parent 04193fb2ae
commit 17e4b07088
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ static int manager_check_ask_password(Manager *m) {
if (!m->ask_password_event_source) {
assert(m->ask_password_inotify_fd < 0);
mkdir_p_label("/run/systemd/ask-password", 0755);
(void) mkdir_p_label("/run/systemd/ask-password", 0755);
m->ask_password_inotify_fd = inotify_init1(IN_NONBLOCK|IN_CLOEXEC);
if (m->ask_password_inotify_fd < 0)