Hi, On Mon, Jan 12, 2009 at 03:10:04PM +0100, intrigeri wrote: > intrigeri wrote (12 Jan 2009 12:12:37 GMT) : > > BTW, your patch had inverted logics: as documented, the isnow > > function returns 1 on success (weird, sure, but it works...) > > Sorry, your patch was right, my mistake. Yeah, it's a bit weird.. I struggeled whether to use just true and false as return values, in which case the natural way would've been to return 0 for true and 1 for false since it's bash code. But then I decided to add 3rd possible return value in case of error so simple "if foo; then... " wouldn't work anymore anyway. But feel free to refactor :)
-- Tuomas Jormola <t...@solitudo.net>
signature.asc
Description: Digital signature