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

#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;
}