1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-12 04:59:09 +03:00

s4:provision Be more polite to long-suffering Samba testers.

Our testers put up with a lot of odd things when testing out Samba4.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2010-02-11 17:13:42 +11:00
parent 0f0229c454
commit 5a2ff4d16f

View File

@ -1173,8 +1173,9 @@ def provision(setup_dir, message, session_info,
# only install a new smb.conf if there isn't one there already
if os.path.exists(smbconf):
# JHT calls me up often enough with weird errors, because he
# uses an empty smb.conf. --abartlet
# if Samba Team members can't figure out the weird errors
# loading an empty smb.conf gives, then we need to be smarter.
# Pretend it just didn't exist --abartlet
data = open(smbconf, 'r').read()
data = data.lstrip()
if data is None or data == "":