Commit 1c0f62e3 authored by Kay Sievers's avatar Kay Sievers
Browse files

udev: fix test-udev binary

parent 07cd4fc1
......@@ -1347,7 +1347,8 @@ test_udev_CFLAGS = \
$(udev_common_CFLAGS)
test_udev_LDADD = \
$(udev_common_LDADD)
$(udev_common_LDADD) \
libsystemd-basic.la
test_udev_CPPFLAGS = \
$(udev_common_CPPFLAGS)
......
Bugfixes:
* fix Fedora's cups.rpm to use tmpfiles instead of /lib/udev/devices/
* do not link selinux and attr against all binaries
* swap units that are activated by one name but shown in the kernel under another are semi-broken
......
......@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
udev = udev_new();
if (udev == NULL)
exit(1);
exit(EXIT_FAILURE);
log_debug("version %s\n", VERSION);
udev_selinux_init(udev);
......@@ -116,6 +116,6 @@ out:
udev_selinux_exit(udev);
udev_unref(udev);
if (err != 0)
return 1;
return 0;
return EXIT_FAILURE;
return EXIT_SUCCESS;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment