From a2edde9943b233ae120f6af18cd16eba703278bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?X=C3=A9fir=20Destiny?= Date: Mon, 10 Oct 2016 16:44:24 +0200 Subject: [PATCH] fix forward list --- commands/exim_forwardlist.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/commands/exim_forwardlist.sh b/commands/exim_forwardlist.sh index cc319df..e21329e 100644 --- a/commands/exim_forwardlist.sh +++ b/commands/exim_forwardlist.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash -DIR=/etc/exim4/forward -for file in "$DIR/*" +for file in /etc/exim4/forward/* do - echo "$file: $(cat $DIR/$file)" + echo "$(basename $file) -> $(cat $file)" done