mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-10 17:34:51 +02:00
set user var
This commit is contained in:
parent
13b43561f8
commit
2a6d05cab6
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ function usage {
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -z "$1" ]; then
|
if [ ! -z "$1" ]; then
|
||||||
|
USER=$1
|
||||||
ENTRIES=$(grep "$USER" -vi $DATABASE)
|
ENTRIES=$(grep "$USER" -vi $DATABASE)
|
||||||
echo "$ENTRIES" > $DATABASE
|
echo "$ENTRIES" > $DATABASE
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue