]> gitweb.fluxo.info Git - firma.git/commitdiff
FixListOwnership small change
authorrhatto <rhatto>
Thu, 12 Oct 2006 19:24:24 +0000 (19:24 +0000)
committerrhatto <rhatto>
Thu, 12 Oct 2006 19:24:24 +0000 (19:24 +0000)
firma

diff --git a/firma b/firma
index f1d2fd289dd5381a82d4d8922cbff68050134522..c6241ff60ca0a478ef72c9230b5f22fbf19aee56 100755 (executable)
--- 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