From 9661be0e3eacd2d66434297c2c20059506f9e425 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 12 Oct 2006 19:24:24 +0000 Subject: FixListOwnership small change --- firma | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'firma') 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 -- cgit v1.2.3