delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 28 Aug 2007 12:29:18 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: openssh not reporting the correct errorlevel |
Message-ID: | <20070828162918.GA14865@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20070827115523 DOT AWF95381 AT mp6 DOT mc DOT surewest DOT net> <fb0i9v$s3m$1 AT sea DOT gmane DOT org> |
MIME-Version: | 1.0 |
In-Reply-To: | <fb0i9v$s3m$1@sea.gmane.org> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Tue, Aug 28, 2007 at 08:19:26AM +0100, Thorsten Kampe wrote: >* (Mon, 27 Aug 2007 11:55:23 -0700 (PDT)) >> Here are the command sequence I ran on Windows 2003 x86 SP2 servers (delhi is the hostname) >> C:\>ssh delhi net >> The syntax of this command is: >> >> NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | >> HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION | >> SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ] >> >> >> C:\>echo %errorlevel% >> 0 >> >> ANALYSIS: >> The errorlevel returned from the second command should be "1" >> instead of "0". > >Sorry, but that's ridiculous. You shouldn't use command line >applications if you don't have a basic understanding of what you're >doing. How in the world do you know this? I thought this was just an indication of someone who wanted to see the error code from a remote command propagated to a local system. I don't see any reason to assume that the OP didn't know what they were doing. The only thing they didn't know was how to report a cygwin problem. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |