mirror of
https://github.com/tomav/docker-mailserver
synced 2025-08-30 05:47:39 +00:00
set user var
This commit is contained in:
parent
13b43561f8
commit
2a6d05cab6
@ -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…
x
Reference in New Issue
Block a user