summaryrefslogtreecommitdiffstats
path: root/source3/lib/popt_common.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-05 13:00:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:18 -0500
commitfbd296f2f65d073af6f1c89a51dadabd172a5984 (patch)
tree88c743b7fbe4648c2fe6eaa67f7aeec739467488 /source3/lib/popt_common.c
parentfd1b550851d9b6c91e5c20a692572d454e61d618 (diff)
downloadsamba-fbd296f2f65d073af6f1c89a51dadabd172a5984.tar.gz
samba-fbd296f2f65d073af6f1c89a51dadabd172a5984.tar.xz
samba-fbd296f2f65d073af6f1c89a51dadabd172a5984.zip
r16046: Hmmm. I don't fully understand popt, but this is necessary for smbclient to
show a prompt again :-) James, could you check that this is ok? I think this was part of your Revision 15848. Thanks, Volker (This used to be commit 91534146b4718206f0e2a7f456154a0497277dfd)
Diffstat (limited to 'source3/lib/popt_common.c')
-rw-r--r--source3/lib/popt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index f842ae80111..d29e171be08 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -56,7 +56,6 @@ static void set_logfile(poptContext con, const char * arg)
pstr_sprintf(logfile, "%s/log.%s", arg, pname);
lp_set_logfile(logfile);
- override_logfile = True;
}
static void popt_common_callback(poptContext con,
@@ -104,6 +103,7 @@ static void popt_common_callback(poptContext con,
case 'l':
if (arg) {
set_logfile(con, arg);
+ override_logfile = True;
pstr_sprintf(dyn_LOGFILEBASE, "%s", arg);
}
break;