From owner-freebsd-current Mon Aug 16 19:58: 0 1999 Delivered-To: freebsd-current@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id C4A6314D28 for ; Mon, 16 Aug 1999 19:57:58 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (iras-5-92.ucdavis.edu [169.237.12.92]) by relay.nuxi.com (8.9.3/8.9.3) with ESMTP id TAA70884; Mon, 16 Aug 1999 19:58:25 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id TAA69654; Mon, 16 Aug 1999 19:58:24 -0700 (PDT) (envelope-from obrien) Date: Mon, 16 Aug 1999 19:58:22 -0700 From: "David O'Brien" To: "Stephen J. Roznowski" Cc: freebsd-current@FreeBSD.ORG Subject: Re: Existance of /var/backups for periodic/daily Message-ID: <19990816195822.B69622@dragon.nuxi.com> Reply-To: obrien@NUXI.com References: <199908170237.WAA92253@cc158233-a.catv1.md.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199908170237.WAA92253@cc158233-a.catv1.md.home.com>; from Stephen J. Roznowski on Mon, Aug 16, 1999 at 10:37:40PM -0400 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 1. Add a "if [ ! -d $bak ] ; then exit fi" to the top > of the files, or > 2. Add a "mkdir -p $bak" to the top. > > Do others consider this an error, and if so which is the preferred fix? Both. (2) followed by (1), possible logging a warning. -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message