From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.thorsis.com ([213.211.200.15]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ej3Jy-0004Yn-As for ptxdist@pengutronix.de; Tue, 06 Feb 2018 14:30:02 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 627103A4258 for ; Tue, 6 Feb 2018 14:30:26 +0100 (CET) Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bTtDOGdyrUSI for ; Tue, 6 Feb 2018 14:30:23 +0100 (CET) Received: from adahl by ada.ifak-system.com with local (Exim 4.89) (envelope-from ) id 1ej3JI-0006RL-Qs for ptxdist@pengutronix.de; Tue, 06 Feb 2018 14:29:20 +0100 From: Alexander Dahl Date: Tue, 6 Feb 2018 14:29:20 +0100 Message-Id: <20180206132920.23639-1-ada@thorsis.com> Subject: [ptxdist] [PATCH] logrotate: Create directory for state file List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de V2hlbiB1cGdyYWRpbmcgZnJvbSBsb2dyb3RhdGUgMy44LjcgdG8gMy45LjEgYSBuZXcgcGF0Y2gK cGF0Y2hlcy9sb2dyb3RhdGUtMy45LjEvMDAwMS1kZWItY29uZmlnLWgucGF0Y2ggd2FzIGludHJv ZHVjZWQgd2hpY2gKY2hhbmdlZCB0aGUgcGF0aHMgdG8gREVGQVVMVF9NQUlMX0NPTU1BTkQgYW5k IFNUQVRFRklMRS4gVGhlIHN0YXRlZmlsZQp3YXMgY3JlYXRlZCBieSBsb2dyb3RhdGUgaW4gL3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