aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirma10
1 files changed, 2 insertions, 8 deletions
diff --git a/firma b/firma
index 92cbd69..7806d15 100755
--- a/firma
+++ b/firma
@@ -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"