diff options
-rwxr-xr-x | firma | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -1345,19 +1345,13 @@ case $# in # evaluate its parameters shopt -u sourcepath && source "$FIRMA_CONFIG_FILE" - # if firma.conf exists but has wrong permissions or - # +ownership, simple exit - if ! CheckPermission $FIRMA_CONFIG_FILE; then - exit 1 - fi - # set SYSLOG_PRIORITY to the default value, if needed if [[ "$LOG_TO_SYSLOG" == 1 ]]; then SYSLOG_PRIORITY=${SYSLOG_PRIORITY:-"user.err"} fi - # and finally check firma.conf - if CheckFirmaConfigFile; then + # and finally check firma.conf parameters and pessmissions + if CheckFirmaConfigFile && CheckPermission $FIRMA_CONFIG_FILE; then LIST_NAME="$2" LIST_PATH="$LISTS_DIR/$LIST_NAME" |