systemctl: supress enable/disable messages when -q is given (#7067)
authorJohn Lin <johnlinp@gmail.com>
Wed, 11 Oct 2017 18:22:51 +0000 (02:22 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 11 Oct 2017 18:22:51 +0000 (20:22 +0200)
Fixes: #7036

src/shared/bus-unit-util.c

index e191f8c..6e20225 100644 (file)
@@ -1471,7 +1471,7 @@ int bus_deserialize_and_dump_unit_file_changes(sd_bus_message *m, bool quiet, Un
         if (r < 0)
                 return bus_log_parse_error(r);
 
-        unit_file_dump_changes(0, NULL, *changes, *n_changes, false);
+        unit_file_dump_changes(0, NULL, *changes, *n_changes, quiet);
         return 0;
 }