tazbug rev 131
Use grep not fgrep to checkadmin users
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 21 14:36:17 2017 +0100 (2017-02-21) |
parents | 3033df849ec3 |
children | 2499947037cf |
files | web/bugs.cgi |
line diff
1.1 --- a/web/bugs.cgi Tue Feb 21 14:12:42 2017 +0100 1.2 +++ b/web/bugs.cgi Tue Feb 21 14:36:17 2017 +0100 1.3 @@ -112,7 +112,7 @@ 1.4 1.5 # Check if user is admin 1.6 admin_user() { 1.7 - fgrep -w -q "^$user$" ${ADMIN_USERS} 1.8 + grep -w -q "^$user$" ${ADMIN_USERS} 1.9 } 1.10 1.11 # Authenticated or not