Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/data/listUsb: Fix O.D.D. always listed in target device list, fixes…
… #109 `expr` doesn't support extended regular expression, so the match always return false. We fix this by using `grep` which is much capable of doing the job. Also we simplify the match pattern a bit as long as the result is expected. Related-GitHub-issue: Regression: src/data/listUsb: Optical Disk Drives still listed in the "Target device:" list · Issue #109 · slacka/WoeUSB <https://github.com/slacka/WoeUSB/issues/109> Signed-off-by: 林博仁 <[email protected]>
- Loading branch information