]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: Fix style nit 24781/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Sep 2022 12:42:00 +0000 (14:42 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 22 Sep 2022 12:42:00 +0000 (14:42 +0200)
src/systemctl/systemctl-enable.c

index 730b4a494cdbc5d872c8640d5815085f54cd522b..7014f92736bc8bd16b3b43017ea50d4b47dcd374 100644 (file)
@@ -23,7 +23,7 @@ static int normalize_filenames(char **names) {
                                                        "Non-absolute paths are not allowed when --root is used: %s",
                                                        *u);
 
-                        if (!strchr(*u,'/'))
+                        if (!strchr(*u, '/'))
                                 return log_error_errno(SYNTHETIC_ERRNO(EINVAL),
                                                        "Link argument must contain at least one directory separator.\n"
                                                        "If you intended to link a file in the current directory, try ./%s instead.",