handle command line flags properly on restart

warnings are verbose
This commit is contained in:
andreas
2007-04-05 15:51:13 +00:00
parent 6f2be6b2b9
commit 6d3ccd0b4c
2 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# $Id: hbc,v 1.6 2006/04/28 12:13:39 andreas Exp $
# $Id: hbc,v 1.7 2007/04/05 15:51:13 andreas Exp $
import sys, time, socket, os, signal, getopt, string
PORT=50003
@@ -85,7 +85,7 @@ try:
f=open(configfile,"r")
if verbose: print "notice: using config file %s" % configfile
except:
print "warning: running without conifig file: %s" % configfile
if verbose: print "warning: running without conifig file: %s" % configfile
f=None
if f: