From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.5 From: Mikhail Gusarov To: ALT Devel discussion list References: <20081211134139.GA26497@epbyminw8406h.minsk.epam.com> <20081211141639.GA13330@wo.int.altlinux.org> Date: Thu, 11 Dec 2008 20:25:22 +0600 In-Reply-To: <20081211141639.GA13330@wo.int.altlinux.org> (Dmitry V. Levin's message of "Thu, 11 Dec 2008 17:16:40 +0300") Message-ID: <877i66u6ul.fsf@frontier.dottedmag.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Subject: Re: [devel] =?utf-8?b?0KHQu9C+0LzQsNC70YHRjyBnaXQuYWx0?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 14:25:27 -0000 Archived-At: List-Archive: List-Post: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpUd2FzIGJyaWxsaWcgYXQgMTc6MTY6NDAgMTEuMTIuMjAwOCBVVEMrMDMgd2hlbiBsZHZAYWx0 bGludXgub3JnIGRpZCBneXJlIGFuZCBnaW1ibGU6DQoNCiBEVkw+INCvINCy0YvQutC70Y7Rh9C4 0LsgcHR5IGFsbG9jYXRpb24uICDQmNGB0L/QvtC70YzQt9GD0LnRgtC1ICQgc3NoIGdpdC5hbHQg aGVscA0KDQrQn9GA0LXQtNC70LDQs9Cw0Y4g0Y3RgtC+INGC0LDQuiDQuCDQvdCw0L/QuNGB0LDR gtGMLCDQstC80LXRgdGC0L4g0LLRi9Cy0LDQu9C40LLQsNC90LjRjyDRgdC70L7QvNCw0L3QvdC+ 0LPQviB1c2FnZS4g0J/QsNGC0Ycg0LIg0LDRgtGC0LDRh9C1Lg0KDQo= --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Fixed-girar-sh-output-with-PTY-allocation-disabled.patch >>From 504997c7bea2324678856a586737fecfb3f95090 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Thu, 11 Dec 2008 20:24:35 +0600 Subject: [PATCH] Fixed girar-sh output with PTY allocation disabled. --- bin/girar-sh.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/girar-sh.c b/bin/girar-sh.c index 211c70e..d73fa9b 100644 --- a/bin/girar-sh.c +++ b/bin/girar-sh.c @@ -194,6 +194,6 @@ main (int ac, char *av[]) shell(av); } - error(0, 0, "Invalid number of arguments"); - show_help(EXIT_FAILURE); + error(0, 0, "Not enough arguments. Try the 'help' command."); + exit(EXIT_FAILURE); } -- 1.6.0.3 --=-=-= -- --=-=-=--