Disable SC2031 where appropriate.

This commit is contained in:
Darko Poljak 2018-10-05 12:25:40 +02:00
parent b120a813a2
commit 8cea8e67aa

View file

@ -17,6 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with cdist. If not, see <http://www.gnu.org/licenses/>.
#
# shellcheck disable=SC2031
name="$(cat "$__object/parameter/name" 2>/dev/null || echo "$__object_id")"
state="$(cat "$__object/parameter/state")"