ftpadmin.sh audit and usability upgrade #2

Merged
Ghost merged 8 commits from shellcheck-ftpadmin into master 2018-11-13 15:37:21 +01:00
Showing only changes of commit e3a50177c8 - Show all commits

View file

@ -54,7 +54,7 @@ log_msg() {
get_user_login_by_UID() {
uid=$1
grep $uid /etc/passwd | awk -F : "{if (\$3==$uid) print \$1}"
grep "$uid" /etc/passwd | awk -F : "{if (\$3==$uid) print \$1}"
}
list_accounts_by_UID() {