Merge pull request #2 from casperklein/patch-1
Small change to error message
This commit is contained in:
commit
398b1dd554
|
@ -7,7 +7,7 @@ errex() {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
[ -f $DATABASE ] || errex "No postfix-virtual.cf file"
|
[ -f $DATABASE ] || errex "Error: No postfix-virtual.cf file"
|
||||||
[ -s $DATABASE ] || errex "Empty postfix-virtual.cf - no aliases have been added"
|
[ -s $DATABASE ] || errex "Error: Empty postfix-virtual.cf - no aliases have been added"
|
||||||
|
|
||||||
(grep -v "^\s*$\|^\s*\#" $DATABASE || true)
|
(grep -v "^\s*$\|^\s*\#" $DATABASE || true)
|
||||||
|
|
Loading…
Reference in New Issue