[wpkg-users] Need to explicitly define exit code 0 as successful?
Marco Gaiarin
gaio at sv.lnf.it
Fri Oct 24 12:41:30 CEST 2008
Mandi! Rainer Meier
In chel di` si favelave...
> Yes, it's superfluous, however it does not harm to specify it. Until
Of course. I've noted only a thing.
If i define exit code 0, in system event i found an event about 'the
command ... return exit status 0. this is not an error'; if i don't
define it, nothing mode that 'command successful' are printed.
So seems that defining exit status 0 add also an (superfluous?) entry
on sustem event. ;)
> WPKG 1.0 an exit code of 0 could not be assigned to a reboot but current
> WPKG releases support this too. So it's common practice not to specify
> exit code 0 unless you want to assign any type of reboot to this code.
Wonderful explanation.
--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
marco.gaiarin(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797
Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
http://www.lanostrafamiglia.it/chi_siamo/5xmille.php
(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)
More information about the wpkg-users
mailing list