From owner-freebsd-stable Sat Sep 14 3: 4:53 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E77C337B401 for ; Sat, 14 Sep 2002 03:04:48 -0700 (PDT) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1080B43E42 for ; Sat, 14 Sep 2002 03:04:48 -0700 (PDT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.5/8.12.5) with ESMTP id g8EA4lmC096136 for ; Sat, 14 Sep 2002 12:04:47 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.5/8.12.5/Submit) id g8EA4lYL096135; Sat, 14 Sep 2002 12:04:47 +0200 (CEST) Date: Sat, 14 Sep 2002 12:04:47 +0200 (CEST) Message-Id: <200209141004.g8EA4lYL096135@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG Reply-To: freebsd-stable@FreeBSD.ORG Subject: Re: ';;' instead of 'fi' In-Reply-To: <20020914094222.A16534@mail.kicelo.org> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.6-STABLE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Manuel Enrique Garcia Cuesta wrote: > === Jon Longoria escribía > [...] >> > > [Nn][Oo]) >> > > dumpdir='NO' >> > > ;; >> > > esac >> > > if [ "$[dumpdir]" != 'NO' ]; then >> > > echo -n 'Checking for core dump: ' >> > > /sbin/savecore ${savecore_flags} "${dumpdir}" >> > > fi >> > > ;; <===( +++ NOTE: LINE 427 +++ ) >> > > esac > > Both that ';;' and the 'esac' in the next line are misplaced > and should be out of there, and there should be some 'fi' instead. I > would wipe out those two offending bits and put fi in there, but I > wonder whether /etc/rc may be further messed up. Furthermore, "$[dumpdir]" should be "${dumpdir}". It's not a syntax error, but it messes up savecore. Regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "All that we see or seem is just a dream within a dream" (E. A. Poe) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message