Github user sansanichfb commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1294#discussion_r143025506
  
    --- Diff: pxf/pxf-service/src/scripts/pxf-service ---
    @@ -341,6 +358,14 @@ function validateParameters()
             exit 1
         fi
     
    +    # make sure current user is not root
    +    if [ $EUID -eq 0 ]; then
    +        echo "ERROR: Cannot run as root user"
    +        exit 1
    +    fi
    +
    --- End diff --
    
    Thanks, updated


---

Reply via email to