Skip to content

Commit 45ea1e3

Browse files
Kristan Kenneyunknown
authored andcommitted
Fix typos in v-update-user-stats
1 parent ef188ed commit 45ea1e3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bin/v-update-user-stats

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ else
4444
user_list="$user"
4545
fi
4646

47-
# Reset overal statistics
47+
# Reset overall statistics
4848
TOTAL_IP_OWNED=0
4949
TOTAL_U_DISK=0
5050
TOTAL_U_DISK_DIRS=0
@@ -92,10 +92,10 @@ for user in $user_list; do
9292
# Updating user stats log
9393
stats="$USER_DATA/stats.log"
9494
if [ -e "$stats" ]; then
95-
# Checking dublicates
95+
# Checking duplicates
9696
check_month=$(grep -n "DATE='$DATE'" $stats|cut -f 1 -d :)
9797
if [ -z "$check_month" ]; then
98-
# Updating as there no dublicates
98+
# Updating as there no duplicates
9999
echo "$s" >> $stats
100100
chmod 660 $stats
101101
else
@@ -150,10 +150,10 @@ s="$s U_CRON_JOBS='$TOTAL_U_CRON_JOBS' U_BACKUPS='$TOTAL_U_BACKUPS'"
150150
s="$s U_USERS='$TOTAL_USERS'"
151151

152152
if [ -e "$stats" ]; then
153-
# Checking dublicates
153+
# Checking duplicates
154154
check_month=$(grep -n "DATE='$DATE'" $stats|cut -f 1 -d :)
155155
if [ -z "$check_month" ]; then
156-
# Updating as there no dublicates
156+
# Updating as there no duplicates
157157
echo "$s" >> $stats
158158
chmod 660 $stats
159159
else

0 commit comments

Comments
 (0)