diff options
Diffstat (limited to '')
| -rw-r--r-- | auto/os/conf | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/auto/os/conf b/auto/os/conf index f64483bda..dcbda8857 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -45,9 +45,7 @@ esac if [ $NGX_PLATFORM != win32 ]; then - if test -z "$NGX_USER"; then - NGX_USER=nobody - fi + NGX_USER=${NGX_USER:-nobody} if [ -z "$NGX_GROUP" -a $NGX_USER = nobody ] ; then if grep nobody /etc/group 2>&1 >/dev/null; then |
