From aedd4012f437a0b08c34f40a5bb97b6e615ac074 Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Fri, 7 Nov 2014 21:21:05 +0100 Subject: shared/install: when unit contains only Also=, report 'indirect' If a unit contains only Also=, with no Alias= or WantedBy=, it shouldn't be reported as static. New 'indirect' status shall be introduced. https://bugzilla.redhat.com/show_bug.cgi?id=864298 --- src/shared/install.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/install.h') diff --git a/src/shared/install.h b/src/shared/install.h index c0b4df69d5..357be0f92d 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -41,6 +41,7 @@ typedef enum UnitFileState { UNIT_FILE_MASKED_RUNTIME, UNIT_FILE_STATIC, UNIT_FILE_DISABLED, + UNIT_FILE_INDIRECT, UNIT_FILE_INVALID, _UNIT_FILE_STATE_MAX, _UNIT_FILE_STATE_INVALID = -1 @@ -80,6 +81,7 @@ typedef struct { char **aliases; char **wanted_by; char **required_by; + char **also; char *default_instance; } InstallInfo; -- cgit v1.2.3-54-g00ecf