mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-20 15:19:16 +00:00
The regex for parsing the distro ID from /etc/os-release only matched unquoted values like `ID=ubuntu`, but RHEL uses `ID="rhel"` with double quotes. The new regex `/^ID="?([\w-]+)"?$/im` handles both quoted and unquoted forms. Fixes #263