aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfirma6
1 files changed, 4 insertions, 2 deletions
diff --git a/firma b/firma
index f1d2fd2..c6241ff 100755
--- a/firma
+++ b/firma
@@ -1655,7 +1655,9 @@ function FixListOwnership {
# 1 on failure
#-------------------------------------------------------------
- chown -R $FIRMA_USER.$FIRMA_GROUP $LIST_PATH
+ if [ -d "$LIST_PATH" ]; then
+ chown -R $FIRMA_USER.$FIRMA_GROUP $LIST_PATH
+ fi
return $?
}
@@ -2105,7 +2107,7 @@ FUNCTIONS="
SubscribeUsers
SendListPubkey
GetSubscribersInfo
- FixOwnership
+ FixListOwnership
RandomString
AdminLog
EmailListAdministration