Re: Unattended upgrade does not report errors via the exit code

2018-07-05 Thread Andrey Repin
Greetings, Ken Brown! > On 7/4/2018 6:25 PM, David Stacey wrote: >> On 04/07/18 19:59, Ken Brown wrote: >>> On 7/3/2018 1:55 PM, R. Diez via cygwin wrote: I tried printing $? from a Cygwin shell afterwards, and %ERRORLEVEL% in a Windows console, and it always showed an exit status of 0.

Re: Unattended upgrade does not report errors via the exit code

2018-07-04 Thread Ken Brown
On 7/4/2018 6:25 PM, David Stacey wrote: On 04/07/18 19:59, Ken Brown wrote: On 7/3/2018 1:55 PM, R. Diez via cygwin wrote: I tried printing $? from a Cygwin shell afterwards, and %ERRORLEVEL% in a Windows console, and it always showed an exit status of 0. setup is a Windows program, not a Cy

Re: Unattended upgrade does not report errors via the exit code

2018-07-04 Thread David Stacey
On 04/07/18 19:59, Ken Brown wrote: On 7/3/2018 1:55 PM, R. Diez via cygwin wrote: I tried printing $? from a Cygwin shell afterwards, and %ERRORLEVEL% in a Windows console, and it always showed an exit status of 0. setup is a Windows program, not a Cygwin application, so I don't think you ca

Re: Unattended upgrade does not report errors via the exit code

2018-07-04 Thread Ken Brown
On 7/3/2018 1:55 PM, R. Diez via cygwin wrote: First of all, many thanks for Cygwin. I have been trying to find out how to do an unattended update/upgrade of all packages, in order to save some mouse clicks. To do that, you start setup-x86_64.exe with --quiet-mode. During experimentation, I fou