Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-07-27 15:56:37 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-07-27 15:56:37 +0300
commit8408a45eff9f0445cafbf9c32eb824eb0d546dff (patch)
tree3d9af45121c2355d1b898e7f24cafb5b09557716 /x-ui.sh
parenta37b1bde4cbe7898d7f2fb3a03ac8bc1b2316859 (diff)
update dependencies
Diffstat (limited to 'x-ui.sh')
-rw-r--r--x-ui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/x-ui.sh b/x-ui.sh
index 7bb8add3..2ffb7049 100644
--- a/x-ui.sh
+++ b/x-ui.sh
@@ -254,7 +254,7 @@ reset_user() {
gen_random_string() {
local length="$1"
- local random_string=$(LC_ALL=C tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w "$length" | head -n 1)
+ local random_string=$(LC_ALL=C tr -dc 'a-zA-Z0-9' </dev/urandom | fold -w "$length" | head -n 1)
echo "$random_string"
}