Magic Strings Everywhere #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
grep -v -E "^veth|^fwbr|^fwln|^fwpr|^tap"
grep -iE "RAID|SAS|SATA|SCSI|Mass storage|NVMe"
Improvement: Define constants at the top:
VIRTUAL_IFACE_PATTERN="^veth|^fwbr|^fwln|^fwpr|^tap"
STORAGE_CONTROLLER_PATTERN="RAID|SAS|SATA|SCSI|Mass storage|NVMe"