We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05ba096 commit 120ee22Copy full SHA for 120ee22
bin/v_change_sys_ip_owner
@@ -6,8 +6,9 @@
6
#----------------------------------------------------------#
7
8
# Argument defenition
9
-user=$1
10
-ip=$2
+ip=$1
+user=$2
11
+
12
13
# Importing variables
14
source $VESTA/conf/vars.conf
@@ -21,10 +22,10 @@ source $V_FUNC/ip.func
21
22
23
24
# Checking arg number
-check_args '2' "$#" 'user ip'
25
+check_args '2' "$#" 'ip user'
26
27
# Checking argument format
-format_validation 'user' 'ip'
28
+format_validation 'ip' 'user'
29
30
# Checking user
31
is_user_valid
0 commit comments