From: Felix Zhang Date: Mon, 20 Mar 2017 10:27:39 +0000 (+0800) Subject: systemctl: fix broken vertical lines in list-dependencies --all (#5608) X-Git-Tag: v234~363 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60705040152c9953a200eea16fffb5fef894c613;p=thirdparty%2Fsystemd.git systemctl: fix broken vertical lines in list-dependencies --all (#5608) --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index d78e56d777e..cb9ca9ae1ea 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -1780,6 +1780,7 @@ static int list_dependencies_one( STRV_FOREACH(c, deps) { if (strv_contains(*units, *c)) { if (!arg_plain) { + printf(" "); r = list_dependencies_print("...", level + 1, (branches << 1) | (c[1] == NULL ? 0 : 1), 1); if (r < 0) return r;