summaryrefslogtreecommitdiff
path: root/src/reply-password/reply-password.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reply-password/reply-password.c')
-rw-r--r--src/reply-password/reply-password.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/reply-password/reply-password.c b/src/reply-password/reply-password.c
index bec754f7be..ee7a0ea130 100644
--- a/src/reply-password/reply-password.c
+++ b/src/reply-password/reply-password.c
@@ -39,9 +39,7 @@ int main(int argc, char *argv[]) {
size_t length = 0;
int r;
- log_set_target(LOG_TARGET_AUTO);
- log_parse_environment();
- log_open();
+ log_setup_service();
if (argc != 3) {
log_error("Wrong number of arguments.");