mirror of
https://github.com/4IceG/luci-app-3ginfo-lite.git
synced 2026-04-25 11:25:50 +03:00
[GH-ISSUE #33] Huawei E3372H (stick): 12d11506: line 88: syntax error: unexpected "else" #23
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/luci-app-3ginfo-lite#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @patrakov on GitHub (Jan 21, 2023).
Original GitHub issue: https://github.com/4IceG/luci-app-3ginfo-lite/issues/33
The file in question contains:
The problem is that the shell requires at least one command between "then" and "else", and your code only has a comment, which is not a command. Adding a ":" on a line by itself helps.
@4IceG commented on GitHub (Jan 21, 2023):
Ok, thanks @patrakov for reporting the bug. I see that I have to check next time on a working modem, because the interpreter can be wrong. I'll fix it in the next release.
@4IceG commented on GitHub (Jan 25, 2023):
It should be ok now, I changed the logic of the condition.
P.S.
I'm waiting to compile the package from sources.