diff options
author | br260@br260.wolfson.cam.ac.uk <br260@br260.wolfson.cam.ac.uk> | 2003-12-31 18:59:39 +0000 |
---|---|---|
committer | br260@br260.wolfson.cam.ac.uk <br260@br260.wolfson.cam.ac.uk> | 2003-12-31 18:59:39 +0000 |
commit | d448bc50c771affad1c9f98207ed328d6efb14b7 (patch) | |
tree | 2b028404575f31f5240773a167d458df43405993 /tools/examples | |
parent | d87cbd3e962196f16e7cb43b7956cf83edb31e7a (diff) | |
download | xen-d448bc50c771affad1c9f98207ed328d6efb14b7.tar.gz xen-d448bc50c771affad1c9f98207ed328d6efb14b7.tar.bz2 xen-d448bc50c771affad1c9f98207ed328d6efb14b7.zip |
bitkeeper revision 1.662 (3ff31c9bCF3X7QcHyzz1dxWr2-8L0w)
bug fix
Diffstat (limited to 'tools/examples')
-rwxr-xr-x | tools/examples/createlinuxdom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/examples/createlinuxdom.py b/tools/examples/createlinuxdom.py index e183b422f8..1f54841cd3 100755 --- a/tools/examples/createlinuxdom.py +++ b/tools/examples/createlinuxdom.py @@ -14,7 +14,7 @@ import Xc, XenoUtil, string, sys, os, time, socket # initialize a few variables that might come in handy thishostname = socket.gethostname() guestid = 0 -if sys.argv >= 2: +if len(sys.argv) >= 2: guestid = string.atoi(sys.argv[1]) print "Offset to add to guest's IP etc : %d\n" % guestid |