As coded, there is a test '-s /etc/mtab'. This tests whether the item is a socket; it looks like the test should be '-l /etc/mtab' which tests whether the item is a symbolic link.
- Bug#1032408: live-build: live build fails for bookworm release ... Chris Ward
- Bug#1032408: More information Chris Ward
- Bug#1032408: Patch Chris Ward
- Bug#1032408: Test should maybe be '-l' rather than '-s' Chris Ward
- Bug#1032408: Fixing the patch Chris Ward