]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-chase-symlinks.c
Drop the text argument from assert_not_reached()
[thirdparty/systemd.git] / src / test / test-chase-symlinks.c
index 0b7dd8764f0d941e40df4c4bcc0b6d636d146932..635c44675b2217721e03c490585057c62006f0fb 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: LGPL-2.1+ */
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
 #include <getopt.h>
 
 #include "fd-util.h"
@@ -72,7 +72,7 @@ static int parse_argv(int argc, char *argv[]) {
                         return -EINVAL;
 
                 default:
-                        assert_not_reached("Unhandled option");
+                        assert_not_reached();
                 }
 
         if (optind == argc)
@@ -84,9 +84,7 @@ static int parse_argv(int argc, char *argv[]) {
 static int run(int argc, char **argv) {
         int r;
 
-        log_show_color(true);
-        log_parse_environment();
-        log_open();
+        log_setup();
 
         r = parse_argv(argc, argv);
         if (r <= 0)