s3:net: avoid unnecessary initialization of the registry.
authorGregor Beck <gbeck@sernet.de>
Mon, 26 Sep 2011 11:42:15 +0000 (13:42 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 12 Oct 2011 20:45:53 +0000 (22:45 +0200)
commit491afa3a4c0536bd797ab5a1cd1f8c82183122ce
tree03e69a2da0df9235c53062fe6ed4779af9e4e81c
parent83748ae49c3d04bd087cbc75bf00e01bca670008
s3:net: avoid unnecessary initialization of the registry.

This allows for using help without having access to the registry and
prevents update code to run if only a readonly check is to be performed.

Signed-off-by: Michael Adam <obnox@samba.org>
source3/utils/net_registry.c