You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/10/08 12:56:49 UTC

svn commit: r1530220 - /karaf/trunk/wrapper/core/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service

Author: jbonofre
Date: Tue Oct  8 10:56:49 2013
New Revision: 1530220

URL: http://svn.apache.org/r1530220
Log:
[KARAF-2502] Fix the RUN_AS_GROUP variable in the wrapper

Modified:
    karaf/trunk/wrapper/core/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service

Modified: karaf/trunk/wrapper/core/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service
URL: http://svn.apache.org/viewvc/karaf/trunk/wrapper/core/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service?rev=1530220&r1=1530219&r2=1530220&view=diff
==============================================================================
--- karaf/trunk/wrapper/core/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service (original)
+++ karaf/trunk/wrapper/core/src/main/resources/org/apache/karaf/wrapper/internal/unix/karaf-service Tue Oct  8 10:56:49 2013
@@ -315,7 +315,7 @@ checkUser() {
                 RUN_AS_GROUP=`groups $RUN_AS_USER | awk '{print $3}' | tail -1`
                 if [ "X$RUN_AS_GROUP" = "X" ]
                 then
-                    RUN_AS_GROUP=RUN_AS_USER
+                    RUN_AS_GROUP=$RUN_AS_USER
                 fi
                 touch $LOCKFILE
                 chown $RUN_AS_USER:$RUN_AS_GROUP $LOCKFILE