chiark / gitweb /
systemctl: indicate in list-dependencies whether a unit is already running
[elogind.git] / src / shared / util.h
index 00d2364c611d13a5fdc062081da9650c9e69bee1..e46438c92db81da75efa9b970ff8d365791b6f43 100644 (file)
@@ -395,6 +395,10 @@ static inline const char *ansi_highlight_green(void) {
         return on_tty() ? ANSI_HIGHLIGHT_GREEN_ON : "";
 }
 
+static inline const char *ansi_highlight_yellow(void) {
+        return on_tty() ? ANSI_HIGHLIGHT_YELLOW_ON : "";
+}
+
 static inline const char *ansi_highlight_off(void) {
         return on_tty() ? ANSI_HIGHLIGHT_OFF : "";
 }