[26109] in Source-Commits
Re: /svn/athena r25392 -
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sat Sep 3 20:04:11 2011
Date: Sat, 3 Sep 2011 20:04:04 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: Benjamin Kaduk <kaduk@mit.edu>
cc: Jonathan D Reed <jdreed@mit.edu>, source-commits@mit.edu
In-Reply-To: <alpine.GSO.1.10.1109031541190.1411@multics.mit.edu>
Message-ID: <alpine.DEB.2.00.1109032002510.8833@tyger.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Sat, 3 Sep 2011, Benjamin Kaduk wrote:
>> + -m drv:///hpijs.drv/hp-laserjet_9050-hpijs-pcl3.ppd
>> + if [ $? != 0 ]; then
>
> I assume you checked that lpadmin does not also always return zero?
> We've been bitten a couple times, now ...
This code handles failures correctly -- it successfully fails on Hardy as
documented in #1068.
--
Geoffrey Thomas
geofft@mit.edu