chiark / gitweb /
service: make the fsck pass no configurable
[elogind.git] / src / delta / delta.c
index 0a29d32cc48fcd81fa0abf5f0735d4f045bd0e6c..25c1f960fd8eda56137af9e5425c123081b6dd92 100644 (file)
@@ -103,7 +103,7 @@ static int notify_override_unchanged(const char *f) {
         if (!(arg_flags & SHOW_UNCHANGED))
                 return 0;
 
-        printf(ANSI_HIGHLIGHT_ON "[UNCHANGED]" ANSI_HIGHLIGHT_OFF "  %s → %s\n", top, bottom);
+        printf("[UNCHANGED]  %s\n", f);
         return 1;
 }
 
@@ -334,17 +334,17 @@ static int parse_flags(const char *flag_str, int flags) {
         size_t l;
 
         FOREACH_WORD(w, l, flag_str, state) {
-                if (strncmp("masked", w, l) == 0) {
+                if (strncmp("masked", w, l) == 0)
                         flags |= SHOW_MASKED;
-                } else if (strncmp ("equivalent", w, l) == 0) {
+                else if (strncmp ("equivalent", w, l) == 0)
                         flags |= SHOW_EQUIVALENT;
-                } else if (strncmp("redirected", w, l) == 0) {
+                else if (strncmp("redirected", w, l) == 0)
                         flags |= SHOW_REDIRECTED;
-                } else if (strncmp("override", w, l) == 0) {
+                else if (strncmp("overriden", w, l) == 0)
                         flags |= SHOW_OVERRIDEN;
-                } else if (strncmp("unchanged", w, l) == 0) {
+                else if (strncmp("unchanged", w, l) == 0)
                         flags |= SHOW_UNCHANGED;
-                } else if (strncmp("default", w, l) == 0) {
+                else if (strncmp("default", w, l) == 0)
                         flags |= SHOW_DEFAULTS;
                 else
                         return -EINVAL;