Skip to content

Commit

Permalink
install: fix error handling in is_symlink_with_known_name()
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwata committed Jun 25, 2018
1 parent 99c89da commit d5c3091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/install.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ static int remove_marked_symlinks(
return r;
}

static bool is_symlink_with_known_name(const UnitFileInstallInfo *i, const char *name) {
static int is_symlink_with_known_name(const UnitFileInstallInfo *i, const char *name) {
int r;

if (streq(name, i->name))
Expand Down

0 comments on commit d5c3091

Please sign in to comment.