Skip to content

Commit 7745157

Browse files
committed
fixed stats password generation
1 parent c2e2978 commit 7745157

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/v_rebuild_web_domains

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@ for domain in $(shell_list) ; do
153153
echo "Require valid-user" >> $stats_dir/.htaccess
154154

155155
# Generating htaccess user and password
156-
rm -f $stats_dir/.htpasswd
157-
htpasswd -bc $stats_dir/.htpasswd "$STATS_USER" "$STATS_CRYPT" \
158-
&>/dev/null
156+
echo "$STATS_USER:$STATS_CRYPT" > $stats_dir/.htpasswd
159157
fi
160158
fi
161159

0 commit comments

Comments
 (0)