only write ipmi of IpmiWrite is true

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2023-10-05 16:26:55 +02:00
committed by Jonathon Anderson
parent 2f9ec8103e
commit e2603cf8e8
2 changed files with 3 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
if [ "$WWIPMI_WRITE" == "false" ]; then
if [ "$WWIPMI_WRITE" != "true" ]; then
echo "No write to IMPI configured"
exit
fi