Skip to content

Commit

Permalink
fix 'del_uer' to 'del_user', spell error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lozy authored Mar 22, 2017
1 parent e9a0f82 commit 28514dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/sockd
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ add_user(){
}
del_uer(){
del_user(){
local User=$1
[ -z "$User" ] && echo " Error: User Name can't be blank" && return 0
[ -f "/usr/bin/htpasswd" ] && /usr/bin/htpasswd -D ${PASSWD_FILE} ${User} || \
Expand Down Expand Up @@ -231,4 +231,4 @@ case "$1" in
;;
esac
exit 0
exit 0

0 comments on commit 28514dd

Please sign in to comment.