commit f7515ae5b3a6f136e84a3846edb67ad79fac7394
parent f11718c9e6a83ad9d04b0b201dbb7947e9eb864d
Author: srfsh <dev@srf.sh>
Date: Thu, 4 Aug 2022 15:59:16 +0300
mann: fix var name
Reported by Adam; thanks.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mann b/mann
@@ -181,7 +181,7 @@ cmd_env_setup() {
else
key=$(openssl rand -hex 64)
pass=$(openssl rand -hex 64)
- sed 's,$ADMIN_KEY,'"$admin_key"', ; s,$ROOM_PASS,'"$pass"',' conf/.env.templ >conf/env.sh
+ sed 's,$ADMIN_KEY,'"$key"', ; s,$ROOM_PASS,'"$pass"',' conf/.env.templ >conf/env.sh
warn "the 'conf/env.sh' file is generated, please edit it to suit your needs"
fi
}