Skip to content

litebastion: fix empty backends file - #43

Merged
FiloSottile merged 1 commit into
FiloSottile:mainfrom
Sockerfri:empty-backends-file
Dec 16, 2025
Merged

litebastion: fix empty backends file#43
FiloSottile merged 1 commit into
FiloSottile:mainfrom
Sockerfri:empty-backends-file

Conversation

@Sockerfri

Copy link
Copy Markdown
Contributor

If the backends file is empty, strings.Split returns a slice containing an empty string, causing litebastion to exit with invalid backend: "".

@Sockerfri
Sockerfri marked this pull request as draft December 3, 2025 19:30
@Sockerfri
Sockerfri force-pushed the empty-backends-file branch from c497629 to dd51349 Compare December 3, 2025 20:03
@Sockerfri
Sockerfri marked this pull request as ready for review December 3, 2025 20:10
@FiloSottile
FiloSottile merged commit 10d168e into FiloSottile:main Dec 16, 2025
8 checks passed
@Sockerfri
Sockerfri deleted the empty-backends-file branch December 18, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants