summaryrefslogtreecommitdiff
path: root/source3/wrepld
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-11-08 23:05:34 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-11-08 23:05:34 +0000
commitc501ac2bfa4b9fa88c402bb0313312ea0f565443 (patch)
tree5c753104c95368c9947f70390e01ac412e0d9762 /source3/wrepld
parent48b32cd865b572c797e6f5de1b8a574bd86e250a (diff)
downloadsamba-c501ac2bfa4b9fa88c402bb0313312ea0f565443.tar.gz
samba-c501ac2bfa4b9fa88c402bb0313312ea0f565443.tar.bz2
samba-c501ac2bfa4b9fa88c402bb0313312ea0f565443.zip
Compleatly remove support for logfile truncation. All logs are opened for
append writes. (blessed by jra) Andrew Bartlett (This used to be commit 81633064dd196c40541ecece8def51745f514646)
Diffstat (limited to 'source3/wrepld')
-rw-r--r--source3/wrepld/server.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/wrepld/server.c b/source3/wrepld/server.c
index 14d3e730f4..f08674afbb 100644
--- a/source3/wrepld/server.c
+++ b/source3/wrepld/server.c
@@ -541,7 +541,6 @@ static void process(void)
****************************************************************************/
int main(int argc,char *argv[])
{
- extern BOOL append_log;
extern char *optarg;
/* shall I run as a daemon */
BOOL is_daemon = False;
@@ -576,18 +575,10 @@ static void process(void)
lp_set_logfile(logfile);
break;
- case 'a':
- append_log = True;
- break;
-
case 'i':
interactive = True;
break;
- case 'o':
- append_log = False;
- break;
-
case 'D':
is_daemon = True;
break;
@@ -628,8 +619,6 @@ static void process(void)
load_case_tables();
- append_log = True;
-
if(!specified_logfile) {
slprintf(logfile, sizeof(logfile)-1, "%s/log.wrepld",
dyn_LOGFILEBASE);