handle command line flags properly on restart
warnings are verbose
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user