From 2ffb0de1db412331a3a31fd7a18e79dd47e94725 Mon Sep 17 00:00:00 2001 From: Casper Date: Sun, 19 Jul 2020 21:33:06 +0200 Subject: [PATCH] Small change to error message --- target/bin/listalias | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/bin/listalias b/target/bin/listalias index 8e655bbe..f6848ec5 100755 --- a/target/bin/listalias +++ b/target/bin/listalias @@ -7,7 +7,7 @@ errex() { exit 1 } -[ -f $DATABASE ] || errex "No postfix-virtual.cf file" -[ -s $DATABASE ] || errex "Empty postfix-virtual.cf - no aliases have been added" +[ -f $DATABASE ] || errex "Error: No postfix-virtual.cf file" +[ -s $DATABASE ] || errex "Error: Empty postfix-virtual.cf - no aliases have been added" (grep -v "^\s*$\|^\s*\#" $DATABASE || true)