From 1b735fb1508edbe144263f892b5b1a1fdc03c95e Mon Sep 17 00:00:00 2001 From: Matthias Stecher Date: Sun, 28 Jun 2020 14:12:49 +0200 Subject: [PATCH] [__lxc_container] fix SC2021 Problems with backets and tr. --- cdist/conf/type/__lxc_container/explorer/state | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/type/__lxc_container/explorer/state b/cdist/conf/type/__lxc_container/explorer/state index 23900ba6..0c79d3c8 100755 --- a/cdist/conf/type/__lxc_container/explorer/state +++ b/cdist/conf/type/__lxc_container/explorer/state @@ -14,5 +14,5 @@ if ! lxc_c info -H -S >/dev/null 2>&1; then echo "absent" else # print state (command output matches to type states) - lxc_c info -H -s | tr '[[:upper:]]' '[[:lower:]]' + lxc_c info -H -s | tr '[:upper:]' '[:lower:]' fi