]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tree-wide: remove consecutive duplicate words in comments
authorStefan Schweter <stefan@schweter.it>
Sun, 2 Oct 2016 17:37:21 +0000 (19:37 +0200)
committerDaniel Mack <github@zonque.org>
Tue, 4 Oct 2016 15:06:25 +0000 (17:06 +0200)
src/basic/escape.c
src/basic/util.c
src/core/dynamic-user.c
src/core/execute.c
src/hostname/hostnamectl.c
src/login/logind-session.c

index 01daf11ce71e8a381113bffc201df0671807cb67..4a1ec4505ed3b12d508327be60905247570b2e57 100644 (file)
@@ -333,7 +333,7 @@ int cunescape_length_with_prefix(const char *s, size_t length, const char *prefi
                 assert(remaining > 0);
 
                 if (*f != '\\') {
-                        /* A literal literal, copy verbatim */
+                        /* A literal, copy verbatim */
                         *(t++) = *f;
                         continue;
                 }
index 9d66d28eb71748b3ddeda07dad0af20f67121b1d..ec7939dc83dff2a3281366d041ec7afce18a232c 100644 (file)
@@ -467,7 +467,7 @@ bool in_initrd(void) {
          * 2. the root file system must be a memory file system
          *
          * The second check is extra paranoia, since misdetecting an
-         * initrd can have bad bad consequences due the initrd
+         * initrd can have bad consequences due the initrd
          * emptying when transititioning to the main systemd.
          */
 
index 310aaa94e1dd3c75677229c24297c5f397074023..1043da3eb77008ca9d591f900b8169ef03ffb643 100644 (file)
@@ -233,7 +233,7 @@ static int pick_uid(const char *name, uid_t *ret_uid) {
                         if (st.st_nlink > 0)
                                 break;
 
-                        /* Oh, bummer, we got got the lock, but the file was unlinked between the time we opened it and
+                        /* Oh, bummer, we got the lock, but the file was unlinked between the time we opened it and
                          * got the lock. Close it, and try again. */
                         lock_fd = safe_close(lock_fd);
                 }
index 3da7ef3be62fdf8eb718e28134175c240efeac6c..82d8c978c1dd513effd5418859c53d90742b21a5 100644 (file)
@@ -2207,7 +2207,7 @@ static int exec_child(
                                 return r;
                         }
 
-                        /* Note that we don't set $HOME or $SHELL if they are are not particularly enlightening anyway
+                        /* Note that we don't set $HOME or $SHELL if they are not particularly enlightening anyway
                          * (i.e. are "/" or "/bin/nologin"). */
                 }
 
index 47953246675ad77426e42d5ccfeba668125e8155..07c57fb56734b6fd7aacd85001e0af809f72011d 100644 (file)
@@ -278,7 +278,7 @@ static int set_hostname(sd_bus *bus, char **args, unsigned n) {
                 /* Now that we set the pretty hostname, let's clean up the parameter and use that as static
                  * hostname. If the hostname was already valid as static hostname, this will only chop off the trailing
                  * dot if there is one. If it was not valid, then it will be made fully valid by truncating, dropping
-                 * multiple dots, and and dropping weird chars. Note that we clean the name up only if we also are
+                 * multiple dots, and dropping weird chars. Note that we clean the name up only if we also are
                  * supposed to set the pretty name. If the pretty name is not being set we assume the user knows what
                  * he does and pass the name as-is. */
                 h = strdup(hostname);
index b6da237397491f1646115aa7dd34b3080a7836c6..ba1bcc2630b70eee25c7d66acc4b3633a535e419 100644 (file)
@@ -611,7 +611,7 @@ static int session_stop_scope(Session *s, bool force) {
                 return 0;
 
         /* Let's always abandon the scope first. This tells systemd that we are not interested anymore, and everything
-         * that is left in in the scope is "left-over". Informing systemd about this has the benefit that it will log
+         * that is left in the scope is "left-over". Informing systemd about this has the benefit that it will log
          * when killing any processes left after this point. */
         r = manager_abandon_scope(s->manager, s->scope, &error);
         if (r < 0)