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
index e61cb72..3ee3e70 100755 (executable)
@@ -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)