From owner-freebsd-questions Tue Oct 1 5:23:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59E4937B401 for ; Tue, 1 Oct 2002 05:23:53 -0700 (PDT) Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id E39D643E4A for ; Tue, 1 Oct 2002 05:23:52 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141]) by topaz.mdcc.cx (Postfix) with ESMTP id 9609A2B8D9; Tue, 1 Oct 2002 14:23:50 +0200 (CEST) Received: by k7.mavetju (Postfix, from userid 1001) id BDD416A712B; Tue, 1 Oct 2002 22:23:41 +1000 (EST) Date: Tue, 1 Oct 2002 22:23:41 +1000 From: Edwin Groothuis To: "Roman V. Mashak" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: exit code of succesful 'cvsup' Message-ID: <20021001122341.GC930@k7.mavetju> Mail-Followup-To: Edwin Groothuis , "Roman V. Mashak" , freebsd-questions@FreeBSD.ORG References: <20021001103510.GA10494@mrv.tusur.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001103510.GA10494@mrv.tusur.ru> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 01, 2002 at 06:35:10PM +0800, Roman V. Mashak wrote: > Hello. > I use cvsup 16.1e build from ports. on FreeBSD-4.6stable. What is the > exit code of succes/failed 'cvsup' (didn't find anything in manuals)? I need > it for my scripts. You can see it with $? Normal behaviour is: 0 - all okay >0 - something wrong Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message