diff options
author | rhatto <rhatto> | 2006-10-09 13:24:02 +0000 |
---|---|---|
committer | rhatto <rhatto> | 2006-10-09 13:24:02 +0000 |
commit | 9601b3f30b5ef3a81dabe7ac37e459c01f61f9e1 (patch) | |
tree | ffc6df50c6bd6f4fa256b6294c29dc59120733fa | |
parent | a40565a03f84d1782f6215976b6146c35b57937a (diff) | |
download | firma-9601b3f30b5ef3a81dabe7ac37e459c01f61f9e1.tar.gz firma-9601b3f30b5ef3a81dabe7ac37e459c01f61f9e1.tar.bz2 |
fix on USER and GROUP evaluation
-rwxr-xr-x | firma | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -186,10 +186,14 @@ WARNING: Setting LOG_TO_SYSLOG to '0'." if ! grep -q -e "^USER=" $FIRMA_CONFIG_FILE; then USER="nobody" + else + USER="`grep "^USER=" $FIRMA_CONFIG_FILE | sed -e 's/"//g' -e "s/'//g" | cut -d = -f 2`" fi if ! grep -q -e "^GROUP=" $FIRMA_CONFIG_FILE; then GROUP="nobody" + else + GROUP="`grep "^GROUP=" $FIRMA_CONFIG_FILE | sed -e 's/"//g' -e "s/'//g" | cut -d = -f 2`" fi return $return_code |