projects
/
invirt/packages/invirt-remote.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In response to Nelson's bug report, actually give a useful error if a
[invirt/packages/invirt-remote.git]
/
files
/
usr
/
sbin
/
sipb-xen-remote-control
diff --git
a/files/usr/sbin/sipb-xen-remote-control
b/files/usr/sbin/sipb-xen-remote-control
index
e61cb72
..
3ee3e70
100755
(executable)
--- a/
files/usr/sbin/sipb-xen-remote-control
+++ b/
files/usr/sbin/sipb-xen-remote-control
@@
-30,7
+30,7
@@
def main(argv):
stdout=PIPE, stderr=PIPE)
(out, err) = p.communicate()
if p.returncode == 1:
- print >>sys.stderr, "machine '%s' is not on" % machine_name
+ print >>sys.stderr, "ERROR: invalid command"
return 1
sys.stderr.write(err)
sys.stdout.write(out)