From owner-svn-src-all@FreeBSD.ORG Thu Nov 1 19:38:04 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50A68DD5; Thu, 1 Nov 2012 19:38:04 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 38D8B8FC08; Thu, 1 Nov 2012 19:38:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id qA1Jc4kF062979; Thu, 1 Nov 2012 19:38:04 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id qA1Jc4gD062977; Thu, 1 Nov 2012 19:38:04 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201211011938.qA1Jc4gD062977@svn.freebsd.org> From: Eitan Adler Date: Thu, 1 Nov 2012 19:38:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242452 - head/etc/root X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2012 19:38:04 -0000 Author: eadler Date: Thu Nov 1 19:38:03 2012 New Revision: 242452 URL: http://svn.freebsd.org/changeset/base/242452 Log: The test fails with "exit 1" if /usr/games/fortune doesn't actually exist. Fix that. PR: conf/71994 Submitted by: Mikael Eklund Reviewed by: crees Reviewed by: jilles Approved by: cperciva (implicit) MFC after: 3 days Modified: head/etc/root/dot.login Modified: head/etc/root/dot.login ============================================================================== --- head/etc/root/dot.login Thu Nov 1 18:59:19 2012 (r242451) +++ head/etc/root/dot.login Thu Nov 1 19:38:03 2012 (r242452) @@ -6,4 +6,4 @@ # # Uncomment to display a random cookie each login: -# [ -x /usr/games/fortune ] && /usr/games/fortune -s +# if ( -x /usr/games/fortune ) /usr/games/fortune -s