From 8c38ba1f009ce11ab80715408a69b4b199ca97b2 Mon Sep 17 00:00:00 2001 From: H8H Date: Tue, 3 Feb 2015 17:27:28 +0100 Subject: [PATCH] Fixed wrong condition, thanks @joshdata --- setup/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/start.sh b/setup/start.sh index e61b058c..fe9d3080 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -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