Fix DAEMON-93 by calling set_caps only if running as root
Fix DAEMON-93 by calling set_caps only if running as root

git-svn-id: bebc170ff85c5b7f4abbe7972f05e0e7a9925978@909380 13f79535-47bb-0310-9956-ffa450edef68

mohanaraosv/commons-daemon,apache/commons-daemon,apache/commons-daemon,mohanaraosv/commons-daemon,mohanaraosv/commons-daemon,apache/commons-daemon,apache/commons-daemon,mohanaraosv/commons-daemon