aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-12 19:24:24 +0000
committerrhatto <rhatto>2006-10-12 19:24:24 +0000
commit9661be0e3eacd2d66434297c2c20059506f9e425 (patch)
tree87e49e42443e52c676f3cbf8fd861ccf533d734f
parent4585b123f563e2934545e3b5a5cd3fb1a0edaa66 (diff)
downloadfirma-9661be0e3eacd2d66434297c2c20059506f9e425.tar.gz
firma-9661be0e3eacd2d66434297c2c20059506f9e425.tar.bz2
FixListOwnership small change
-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