X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-remote.git/blobdiff_plain/14b583f6b332877718c82caf2cf3ec0913a53778..81942680b13c82fb28a3a90cf43390c5148d248a:/server/usr/sbin/invirt-remote-vminvalid diff --git a/server/usr/sbin/invirt-remote-vminvalid b/server/usr/sbin/invirt-remote-vminvalid index d158fcb..e4b3c7b 100755 --- a/server/usr/sbin/invirt-remote-vminvalid +++ b/server/usr/sbin/invirt-remote-vminvalid @@ -4,13 +4,9 @@ Returns an error when someone enters an invalid vm name. """ import sys - - - def main(args): - print 'Machine Name' + args[0] + 'does not exist' - return 0 - + print >>sys.stderr, 'Error: no such machine: ' + args[0] + return 1 if __name__ == '__main__': sys.exit(main(sys.argv[1:]))