Ignore shellchecking /etc/os-release

This commit is contained in:
Amin Vakil 2022-01-11 09:59:52 +03:30
parent 29e293cc81
commit 5fab8585c1
No known key found for this signature in database
GPG Key ID: 1EFC1864E9D9E56B
1 changed files with 1 additions and 0 deletions

View File

@ -212,6 +212,7 @@ logmessage(){
# This just grabs a field from os-release and returns it.
os-release () (
# shellcheck source=/dev/null
. /etc/os-release
if ! [[ ${!1} ]]; then
return 1