Skip spurious error during id
This commit is contained in:
parent
b39b5ac713
commit
bf5ecd7b7c
@ -8,7 +8,7 @@ if [ -n "$PHP_EXTENSIONS" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! id -u "user" >/dev/null ; then
|
if ! id -u "user" >/dev/null 2>&1; then
|
||||||
useradd -u 1000 -m user
|
useradd -u 1000 -m user
|
||||||
mkdir /var/www/html/vendor
|
mkdir /var/www/html/vendor
|
||||||
chown -R user:user /var/www/html/vendor
|
chown -R user:user /var/www/html/vendor
|
||||||
|
Loading…
Reference in New Issue
Block a user