diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-06 15:13:43 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-01-06 15:15:59 +0100 |
commit | db955fa7b9b8780a59a73f9a1a253366bd22d5c3 (patch) | |
tree | a6afce515a013abe93a16d58255d1c3dd11db884 | |
parent | a7e7fa84900a344a8d419732cb2f1d4ef4ed0aa4 (diff) | |
download | samba-db955fa7b9b8780a59a73f9a1a253366bd22d5c3.tar.gz samba-db955fa7b9b8780a59a73f9a1a253366bd22d5c3.tar.bz2 samba-db955fa7b9b8780a59a73f9a1a253366bd22d5c3.zip |
s3/swat: Fix creation of the first share using SWAT.
This fixes bug #5965.
-rw-r--r-- | source3/web/swat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index 060f024581..4bfb731814 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -478,7 +478,7 @@ static int save_reload(int snum) } write_config(f, False); - if (snum) + if (snum >= 0) lp_dump_one(f, False, snum); fclose(f); |