LMSouq
php-dev Open

Empty function in BASH

US
user3550394
1 month ago
3 views
Problem Description
I'm using FPM tool to create .deb package. This tool create before/after remove package from supported files. Unfortunatly the bash script generated by FPM contains such function dummy() { } And this script exit with an error: >Syntax error: "}" unexpected Does BASH doesn't allow empty functions? Which version of bash/linux have this limitation?

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base