<commit_before>#!/bin/bash

if [ "$(ls /var/lib/unifi | wc -l)" -eq 0 ]; then
	cp -R /usr/lib/unifi/data_orig /usr/lib/unifi/data
fi

mkdir -p /var/lib/unifi/logs
mkdir -p /var/lib/unifi/run
mkdir -p /var/lib/unifi/data

chown -R ${UNIFI_USER:-unifi}:${UNIFI_USER:-unifi} /var/lib/unifi/
chown -R ${UNIFI_USER:-unifi}:${UNIFI_USER:-unifi} /usr/lib/unifi/
exec su --preserve-environment --command "/usr/bin/java -Xmx${JAVA_XMX:-1024M} -jar /usr/lib/unifi/lib/ace.jar $*" ${UNIFI_USER:-unifi}<commit_msg>Fixed error message<commit_after>#!/bin/bash

if [ "$(ls /var/lib/unifi | wc -l)" -eq 0 ]; then
	[ -d "/usr/lib/unifi/data_orig" ] && cp -R /usr/lib/unifi/data_orig /usr/lib/unifi/data
fi

mkdir -p /var/lib/unifi/logs
mkdir -p /var/lib/unifi/run
mkdir -p /var/lib/unifi/data

chown -R ${UNIFI_USER:-unifi}:${UNIFI_USER:-unifi} /var/lib/unifi/
chown -R ${UNIFI_USER:-unifi}:${UNIFI_USER:-unifi} /usr/lib/unifi/
exec su --preserve-environment --command "/usr/bin/java -Xmx${JAVA_XMX:-1024M} -jar /usr/lib/unifi/lib/ace.jar $*" ${UNIFI_USER:-unifi}
{'fraction_non_alphanumeric': 0.2148997134670487, 'fraction_numerical': 0.009551098376313277, 'mean_word_length': 3.4978540772532187, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6729033', 'n_tokens_mistral': 486, 'n_tokens_neox': 470, 'n_words': 83}