We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b21db8 commit fa44a6bCopy full SHA for fa44a6b
bin/v-change-sys-port
@@ -27,7 +27,7 @@ is_port_valid() {
27
28
# Check if PORT is already used
29
BUSY_PORT=$(lsof -i:$PORT)
30
- if [ ! -z "$BUSY_PORT" ]; then
+ if [ ! -z "$BUSY_PORT" ] && [ "$PORT" != "$BACKEND_PORT" ]; then
31
echo "Port is already used by Hestia, please set anotherone!"
32
log_event $E_INUSE "$ARGUMENTS"
33
exit $E_INUSE
0 commit comments