Removed IFS on virtual file parsing

After issue #121, I removed the IFS on space to make the parsing of virtual more robust
This commit is contained in:
Rémi Auguste 2016-04-11 18:21:12 +02:00
parent 996af0e15f
commit eb52dc66f9
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ fi
if [ -f /tmp/postfix/virtual ]; then
# Copying virtual file
cp /tmp/postfix/virtual /etc/postfix/virtual
while IFS=$' ' read from to
while read from to
do
# Setting variables for better readability
domain=$(echo ${from} | cut -d @ -f2)