alias_proxy.c: Fix accidental error quashing
This was introduced on accident in r165243, when return sites were unified to add a lock around LibAliasProxyRule(). PR: 217749 Submitted by: Svyatoslav <razmyslov at viva64.com> Sponsored by: Viva64 (PVS-Studio)
This commit is contained in:
parent
f321675a98
commit
fdb727f4f2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=315207
@ -720,7 +720,8 @@ LibAliasProxyRule(struct libalias *la, const char *cmd)
|
|||||||
err = RuleNumberDelete(la, rule_to_delete);
|
err = RuleNumberDelete(la, rule_to_delete);
|
||||||
if (err)
|
if (err)
|
||||||
ret = -1;
|
ret = -1;
|
||||||
ret = 0;
|
else
|
||||||
|
ret = 0;
|
||||||
goto getout;
|
goto getout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user