From 9601b3f30b5ef3a81dabe7ac37e459c01f61f9e1 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 9 Oct 2006 13:24:02 +0000 Subject: fix on USER and GROUP evaluation --- firma | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firma') diff --git a/firma b/firma index c425921..222094f 100755 --- a/firma +++ b/firma @@ -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 -- cgit v1.2.3