diff --git a/pve-mod-gui-sensors.sh b/pve-mod-gui-sensors.sh index da2ffd4..df2379e 100644 --- a/pve-mod-gui-sensors.sh +++ b/pve-mod-gui-sensors.sh @@ -1032,7 +1032,7 @@ function performBackup { # Create backup of original file cp "$PVE_MANAGER_LIB_JS_FILE" "$BACKUP_DIR/pvemanagerlib.js.$timestamp" cp "$PVE_MANAGER_LIB_JS_FILE" "$BACKUP_DIR/pvemanagerlib.js.$timestamp" | { - err "Failed to create backup file: \"$BACKUP_DIR/Nodes.pm.$timestamp\"" + err "Failed to create backup file: \"$BACKUP_DIR/pvemanagerlib.js.$timestamp\"" } if [[ $(md5sum "$PVE_MANAGER_LIB_JS_FILE" | awk '{ print $1 }') != $(md5sum "$BACKUP_DIR/pvemanagerlib.js.$timestamp" | awk '{ print $1 }') ]]; then err "Backup is not identical to original: \"$BACKUP_DIR/pvemanagerlib.js.$timestamp\""