Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-19
/
.
/
src
/
test
/
test-hostname.c
blob: 710c0572e668db28b3ab2b99af4126ad7458a0d1 [
file
] [
log
] [
blame
] [
raw
]
/* 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
;
}