1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-07-31 17:18:58 +02:00

Remove redundant directory in mkdir -p

Since -p creates parents, the first one isn't necessary.
This commit is contained in:
Joshua Tauberer
2022-09-24 10:01:53 -04:00
committed by GitHub
parent 2d34ea9781
commit 3fa9db516e

View File

@@ -251,7 +251,7 @@ if [ ! -d $STORAGE_ROOT/mail/postgrey/db ]; then
# Stop the service
service postgrey stop
# Ensure the new paths for postgrey db exists
mkdir -p $STORAGE_ROOT/mail/postgrey $STORAGE_ROOT/mail/postgrey/db
mkdir -p $STORAGE_ROOT/mail/postgrey/db
# Move over database files
mv /var/lib/postgrey/* $STORAGE_ROOT/mail/postgrey/db/ || true
fi