Skip to content

Commit f8e08e1

Browse files
author
Kristan Kenney
committed
Merge branch 'main' into feature/user-roles
2 parents 9a0cba4 + 6216648 commit f8e08e1

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

bin/v-add-sys-ip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ source $HESTIA/conf/hestia.conf
4242
#----------------------------------------------------------#
4343

4444
check_args '2' "$#" 'IP NETMASK [INTERFACE] [USER] [STATUS] [NAME] [NATED_IP] [HELO]'
45-
is_format_valid 'ip' 'netmask' 'interface' 'user' 'ip_status'
45+
is_format_valid 'ip' 'netmask' 'iface' 'user' 'ip_status'
4646
is_ip_free
4747
is_object_valid 'user' 'USER' "$user"
4848
is_object_unsuspended 'user' 'USER' "$user"

func/main.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,6 @@ is_format_valid() {
962962
host) is_object_format_valid "$arg" "$arg_name" ;;
963963
hour) is_cron_format_valid "$arg" $arg_name ;;
964964
id) is_int_format_valid "$arg" 'id' ;;
965-
interface) is_interface_format_valid "$arg" ;;
966965
iface) is_interface_format_valid "$arg" ;;
967966
ip) is_ip_format_valid "$arg" ;;
968967
ip_name) is_domain_format_valid "$arg" 'IP name';;

install/upgrade/versions/1.4.0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ fi
107107

108108
# Fix PostgreSQL repo
109109
if [ -f /etc/apt/sources.list.d/postgresql.list ]; then
110-
echo "[*] Updating PostgreSQL repository..."
110+
echo "[ * ] Updating PostgreSQL repository..."
111111
sed -i 's|deb https://apt.postgresql.org/pub/repos/apt/|deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/|g' /etc/apt/sources.list.d/postgresql.list
112112
fi

0 commit comments

Comments
 (0)