From owner-cvs-src@FreeBSD.ORG Fri Oct 26 10:23:27 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1ADD16A417; Fri, 26 Oct 2007 10:23:27 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 793A213C48E; Fri, 26 Oct 2007 10:23:27 +0000 (UTC) (envelope-from stefanf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9QANR89006293; Fri, 26 Oct 2007 10:23:27 GMT (envelope-from stefanf@repoman.freebsd.org) Received: (from stefanf@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9QANRPr006292; Fri, 26 Oct 2007 10:23:27 GMT (envelope-from stefanf) Message-Id: <200710261023.l9QANRPr006292@repoman.freebsd.org> From: Stefan Farfeleder Date: Fri, 26 Oct 2007 10:23:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/bin/sh eval.c sh.1 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 10:23:27 -0000 stefanf 2007-10-26 10:23:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) bin/sh eval.c sh.1 Log: MFC: eval.c 1.54, sh.1 1.125 The exit status of a case statement where none of the patterns is matched is supposed to be 0, not the status of the previous command. Revision Changes Path 1.42.8.6 +1 -0 src/bin/sh/eval.c 1.102.2.9 +4 -0 src/bin/sh/sh.1