diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index 0fba487..703f7ec 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -387,8 +387,9 @@ function install_mod { # Insert UPS data collection before the disk info line sed -i "/my \$dinfo = df('\/', 1);/i\\ \\ - \t# Collect UPS status information\\ - \t\$res->{upsc} = \\\`$upsCmd\\\`;" "$NODES_PM_FILE" + # Collect UPS status information\\ + \$res->{upsc} = \\\`$upsCmd\\\`;\\ + " "$NODES_PM_FILE" msg "UPS output added to \"$NODES_PM_FILE\"." fi