Another oversight in the web remctl code
authorEvan Broder <broder@mit.edu>
Wed, 12 Nov 2008 06:18:03 +0000 (01:18 -0500)
committerEvan Broder <broder@mit.edu>
Wed, 12 Nov 2008 06:18:03 +0000 (01:18 -0500)
svn path=/trunk/packages/invirt-web/; revision=1619

code/controls.py

index 5c856e3..bb12a1a 100644 (file)
@@ -173,7 +173,7 @@ def listHost(machine):
 
 def vnctoken(machine):
     """Return a time-stamped VNC token"""
-    out, err = remctl('control', machine.name, 'vnctoken')
+    out, err = remctl('control', machine.name, 'vnctoken', err=True)
     if err:
         return None
     return out.strip()