Bug#406911: Acknowledgement (user-setup: last set of bugfixes stops passwd/make-user=false from working)
On Mon, Jan 15, 2007 at 09:03:31PM -0500, Joey Hess wrote:
> Luke Kenneth Casson Leighton wrote:
> > ok. in functions.sh, changing the test in is_system_user () to
> > return 0 instead of 1 if $ROOT/etc/passwd fails fixes the problem.
> Only because it's causing the system to _always_ think that a system
> user already exists, even if there's no password file, AFAICS.
ok i talked to phil about this: my understanding of shell scripts is
phil explained that 0 equals success, and 1 equals fail, therefore ! 1
my brain hurts.
the bottom line: it's perfectly correct, and my bugreport is complete
lkcl.net - mad free software computer person, visionary and poet.