aboutsummaryrefslogtreecommitdiff
path: root/webui.sh
diff options
context:
space:
mode:
authorkopyl <oleggggg1997@gmail.com>2023-07-19 01:47:39 +0300
committerkopyl <oleggggg1997@gmail.com>2023-07-19 01:47:39 +0300
commit0c4ca5f43e5e74aa1e7f65b3b6c20a676e158328 (patch)
tree4a98bd5c52c587d8aa109cd434e51b8b646252a5 /webui.sh
parent2b42f73e3d198f7d21de3bba9253fdcd4cc0d76d (diff)
Replace argument with env variable
Diffstat (limited to 'webui.sh')
-rwxr-xr-xwebui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/webui.sh b/webui.sh
index 9ec14168..5b39244b 100755
--- a/webui.sh
+++ b/webui.sh
@@ -5,7 +5,7 @@
#################################################
usevenv=1
-if [[ $@ == *"--novenv"* ]]; then
+if [[ $venv_dir == "-" ]]; then
usevenv=0
fi