Skip to content

Commit 4041d97

Browse files
committed
v-rebuild-users requiring "user"
Require a "user" mean while it does not depends on it
1 parent 0682ac3 commit 4041d97

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)