Commit d10b7de
committed
eclean: again handle empty invalid binpkgs correctly
_get_size_valid_symlink returns 0 in two cases:
1) when the file is actually of size 0, or
2) a broken symlink was passed.
Hack around case 1) appearing identical to callers by returning 1 there
instead.
Bug: https://bugs.gentoo.org/973294
Signed-off-by: Sam James <sam@gentoo.org>1 parent 979422f commit d10b7de
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
136 | 139 | | |
137 | 140 | | |
138 | 141 | | |
| |||
0 commit comments