Mailinglist Archive: yast-devel (105 mails)

< Previous Next >
Re: [yast-devel] [PATCH] yast2 exit codes
  • From: Stanislav Visnovsky <visnov@xxxxxxx>
  • Date: Thu, 25 Sep 2008 14:16:00 +0200
  • Message-id: <200809251416.00957.visnov@xxxxxxx>
Dňa Thursday 25 September 2008 14:11:45 Lukas Ocilka ste napísal:
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.

If we can come up with a mapping, it's trivial to add.

Stano
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >