Skip to content

Commit f198303

Browse files
committed
sd-path: fix systemd-system-generator-path lookup
CID#1422164.
1 parent 5dc31db commit f198303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsystemd/sd-path/sd-path.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ static int get_search(uint64_t type, char ***list) {
624624
case SD_PATH_SYSTEMD_SYSTEM_GENERATOR_PATH:
625625
case SD_PATH_SYSTEMD_USER_GENERATOR_PATH: {
626626
char **t;
627-
const UnitFileScope scope = type == SD_PATH_SYSTEMD_SYSTEM_UNIT_PATH ?
627+
const UnitFileScope scope = type == SD_PATH_SYSTEMD_SYSTEM_GENERATOR_PATH ?
628628
UNIT_FILE_SYSTEM : UNIT_FILE_USER;
629629

630630
t = generator_binary_paths(scope);

0 commit comments

Comments
 (0)