mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
࿓❯ Added the echo statement for a message with invalid type
Signed-off-by: Victor-ray, S <12261439+ZendaiOwl@users.noreply.github.com>
This commit is contained in:
parent
dbcb459f61
commit
d33689c1f2
@ -79,6 +79,7 @@ function is_port_open()
|
||||
# Checks both port 80 & 443 for IPv4/IPv6 and returns the result or [N/A] [N/A]
|
||||
if ! [[ "$TYPE" =~ ^(0|4|6)$ ]]
|
||||
then
|
||||
echo "Invalid type: $TYPE" 1>&2
|
||||
return 1
|
||||
elif [[ "$TYPE" == 0 ]]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user