diff options
-rwxr-xr-x | firma | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |