]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
fix typo
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 30 Mar 2022 12:10:06 +0000 (21:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 30 Mar 2022 12:10:06 +0000 (21:10 +0900)
man/systemd.unit.xml
src/shared/install.c

index dd3553aa18dcc6d15a849053b78992e157f6eaaa..7a611dc93f791ad0c3bc4274b851ec63ec242eb6 100644 (file)
     symlink <emphasis>target</emphasis> is within the unit load path becomes an alias: the source name and
     the target file name must satisfy specific constraints listed above in the discussion of aliases, but the
     symlink target doesn't have to exist, and in fact the symlink target path is not used, except to check
-    whether the target is within the unit load path. In constrast, a symlink which goes outside of the unit
+    whether the target is within the unit load path. In contrast, a symlink which goes outside of the unit
     load path signifies a linked unit file. The symlink is followed when loading the file, but the
     destination name is otherwise unused (and may even not be a valid unit file name). For example, symlinks
     <filename index='false'>/etc/systemd/system/alias1.service</filename> → <filename index='false'>service1.service</filename>,
index f807947a3c6b8b13a0dbede76d87332bdd5d7ad4..8e81ec41bf7cd60b1697daaec24ffeb152b8b599 100644 (file)
@@ -2797,7 +2797,7 @@ static int normalize_linked_files(
 
         /* This is similar to normalize_filenames()/normalize_names() in src/systemctl/,
          * but operates on real unit names. For each argument we we look up the actual path
-         * where the unit is found. This way linked units can be reenabled successfully. */
+         * where the unit is found. This way linked units can be re-enabled successfully. */
 
         _cleanup_free_ char **files = NULL, **names = NULL;
         int r;