Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 22:23:41 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        "Roman V. Mashak" <mrv@tv2.tomsk.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: exit code of succesful 'cvsup'
Message-ID:  <20021001122341.GC930@k7.mavetju>
In-Reply-To: <20021001103510.GA10494@mrv.tusur.ru>
References:  <20021001103510.GA10494@mrv.tusur.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001122341.GC930>