]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
core/main: fix a typo for --log-target
authorMike Yuan <me@yhndnzj.com>
Thu, 13 Apr 2023 15:04:49 +0000 (23:04 +0800)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 13 Apr 2023 20:29:35 +0000 (21:29 +0100)
Follow-up for d2ebd50d7f9740dcf30e84efc75610af173967d2

Fixes #27105

src/core/main.c

index 6e3796f9dcc1319f580e344c0be281d3afd52020..b627916a2598e09506e5425ee20bcde862384448 100644 (file)
@@ -1501,7 +1501,7 @@ static int become_shutdown(int objective, int retval) {
                 break;
 
         case LOG_TARGET_NULL:
-                command_line[pos++] = "--log_target=null";
+                command_line[pos++] = "--log-target=null";
                 break;
 
         case LOG_TARGET_CONSOLE: