- Timestamp:
- Oct 22, 2008, 12:48:44 AM (16 years ago)
- Location:
- trunk/packages/sipb-xen-remote-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-remote-server/debian/changelog
r1161 r1163 1 sipb-xen-remote-server (0.10.2) unstable; urgency=low 2 3 * There's a race condition for if the VM gets powered off between the 4 listvms and the actual request. Solve the problem correctly by using a 5 non-conflicting error code to indicate an invalid command 6 7 -- Evan Broder <broder@mit.edu> Wed, 22 Oct 2008 00:46:38 -0400 8 1 9 sipb-xen-remote-server (0.10.1) unstable; urgency=low 2 10 -
trunk/packages/sipb-xen-remote-server/files/usr/sbin/sipb-xen-remote-control
r1159 r1163 31 31 (out, err) = p.communicate() 32 32 if p.returncode == 1: 33 print >>sys.stderr, "machine '%s' is not on" % machine_name 34 return 1 35 elif p.returncode == 34: 33 36 print >>sys.stderr, "ERROR: invalid command" 34 return 137 return 34 35 38 sys.stderr.write(err) 36 39 sys.stdout.write(out)
Note: See TracChangeset
for help on using the changeset viewer.