summaryrefslogtreecommitdiff
path: root/src/test/test-hostname.c
blob: 1a925f253c18e47571c8085835e391949d0eef71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include "hostname-setup.h"
#include "util.h"

int main(int argc, char* argv[]) {
        int r;

        r = hostname_setup();
        if (r < 0)
                log_error_errno(r, "hostname: %m");

        return 0;
}