Skip to content

Commit a6ee530

Browse files
authored
Merge pull request hestiacp#1046 from hestiacp/fix/08-2020-v_rebuild_users_not_working
v-rebuild-users requiring "user"
2 parents 69adacd + 4041d97 commit a6ee530

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

bin/v-rebuild-users

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
# info: rebuild system user
3-
# options: USER [RESTART]
3+
# options: [RESTART]
44
#
55
# The function rebuilds system user accounts.
66

@@ -24,10 +24,6 @@ export PATH=$PATH:/usr/sbin
2424
# Verifications #
2525
#----------------------------------------------------------#
2626

27-
check_args '1' "$#" 'USER [RESTART]'
28-
is_format_valid 'user'
29-
is_object_valid 'user' 'USER' "$user"
30-
is_object_unsuspended 'user' 'USER' "$user"
3127

3228

3329
#----------------------------------------------------------#

0 commit comments

Comments
 (0)