set user var

This commit is contained in:
shim_ 2016-06-14 13:29:55 +02:00
parent 13b43561f8
commit 2a6d05cab6

View file

@ -8,6 +8,7 @@ function usage {
}
if [ ! -z "$1" ]; then
USER=$1
ENTRIES=$(grep "$USER" -vi $DATABASE)
echo "$ENTRIES" > $DATABASE
else