fix identation in nodes

This commit is contained in:
Meliox 2025-09-06 12:35:30 +02:00
parent 53f159e784
commit 9587abeba5

View File

@ -384,7 +384,7 @@ function install_mod {
upsCmd="upsc \"$upsConnection\" 2>/dev/null" upsCmd="upsc \"$upsConnection\" 2>/dev/null"
fi fi
sed -i '/my \$dinfo = df('\''\/'\'', 1);/i\'$'\t''$res->{upsc} = `'"$upsCmd"'`;\n' "$NODES_PM_FILE" sed -i "/my \$dinfo = df('\/', 1);/i\\\t\t\$res->{upsc} = \`$upsCmd\`;" "$NODES_PM_FILE"
msg "UPS output added to \"$NODES_PM_FILE\"." msg "UPS output added to \"$NODES_PM_FILE\"."
fi fi