Check if lscpu/lspci/lsusb commands exist #9

Closed
opened 2024-09-28 21:17:25 +00:00 by sungsphinx · 0 comments
sungsphinx commented 2024-09-28 21:17:25 +00:00 (Migrated from github.com)

Some distros might not ship one of these commands ootb (e.g. Alpine Linux/postmarketOS), and not having one of them available will cause the app to panic, it should be simple enough to add a check to see if the output is an Err or not.

Some distros might not ship one of these commands ootb (e.g. Alpine Linux/postmarketOS), and not having one of them available will cause the app to panic, it should be simple enough to add a check to see if the output is an `Err` or not.
Sign in to join this conversation.
No description provided.