[Bug 14436] New: syntax error: unexpected "fi" (expecting "then")

bugzilla at busybox.net bugzilla at busybox.net
Thu Dec 9 19:25:04 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=14436

            Bug ID: 14436
           Summary: syntax error: unexpected "fi" (expecting "then")
           Product: Busybox
           Version: 1.33.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: mdvornic at dataremote.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Created attachment 9181
  --> https://bugs.busybox.net/attachment.cgi?id=9181&action=edit
The script where the exception is triggered.

The following exception is raised sporadically while executing one of the shell
scripts with busybox 1.34 version : 

/sbin/internet.sh: line 438: syntax error: unexpected "fi" (expecting "then")

The occurrence of the issue is rare, normally the script internet.sh executes
without problems. When the exception is triggered, there is no special branch
executing on the script.   

Code snippet from internet.sh attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list