Mailinglist Archive: yast-devel (105 mails)

< Previous Next >
Re: [yast-devel] [PATCH] yast2 exit codes
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Thu, 25 Sep 2008 14:11:45 +0200
  • Message-id: <48DB8001.3040305@xxxxxxx>
Stanislav Visnovsky wrote:
Dňa Thursday 25 September 2008 13:57:41 Jiří Suchomel ste napísal:
On čt 25. září 2008, Stanislav Visnovsky wrote:
Clients can return only 2 types of exit codes:

boolean:
true - exit code 0
false - exit code 16

integer:
16 + value
Currently, some clients (esp. installation ones) return symbol.

How would you map symbol to integer? The patch handles symbols as exit code 0.

What about `abort, `cancel? That doesn't sound good for exit code 0.

L.

< Previous Next >