bedrocklinux / bedrocklinux-userland

This tracks development for the things such as scripts and (defaults for) config files for Bedrock Linux
https://bedrocklinux.org
GNU General Public License v2.0
602 stars 65 forks source link

common-code: Check before removing attributes #227

Closed NICHOLAS85 closed 3 years ago

NICHOLAS85 commented 3 years ago

Currently, if you attempt to hide an already hidden stratum you'll run into an error. This simply adds a check which makes sure the attribute you're attempting to remove exists before removing it allowing brl hide to work on already hidden strata.