Skip to content

Commit 2b07689

Browse files
committed
fixed path in user delete function
1 parent 2294a07 commit 2b07689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v_delete_user

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ if [ ! -z "$statp" ]; then
113113
fi
114114

115115
# Removing system user
116-
userdel -f $user
116+
/usr/sbin/userdel -f $user
117117
rm -rf $V_HOME/$user
118118
rm -f /var/spool/mail/$user
119119
rm -f /var/spool/cron/$user

0 commit comments

Comments
 (0)