]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/test/test-loopback.c
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / src / test / test-loopback.c
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
af5bc85d 2
af5bc85d 3#include <stdio.h>
cf0fbc49 4#include <string.h>
af5bc85d 5
2da780b9 6#include "log.h"
cf0fbc49 7#include "loopback-setup.h"
af5bc85d
LP
8
9int main(int argc, char* argv[]) {
10 int r;
11
2da780b9 12 log_open();
3becdb8a 13 log_set_max_level(LOG_DEBUG);
2da780b9
TG
14 log_parse_environment();
15
3cc2aff1
LP
16 r = loopback_setup();
17 if (r < 0)
35bca925 18 log_error_errno(r, "loopback: %m");
af5bc85d 19
f26b57d1 20 return r >= 0 ? EXIT_SUCCESS : EXIT_FAILURE;
af5bc85d 21}