1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-29 04:17:07 +00:00

Fixed wrong condition, thanks @joshdata

This commit is contained in:
H8H 2015-02-03 17:27:28 +01:00
parent 794a52d042
commit 8c38ba1f00

View File

@ -102,7 +102,7 @@ if [ -z "$STORAGE_ROOT" ]; then
fi
# Create the STORAGE_USER if it not exists
if [ ! $(id -u $STORAGE_USER >/dev/null 2>&1;) ]; then
if ! id -u $STORAGE_USER >/dev/null 2>&1; then
useradd -m $STORAGE_USER
fi