source: trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-vminvalid @ 2472

Last change on this file since 2472 was 2472, checked in by pweaver, 15 years ago

lp:invert bug #349789:changed error message to unix style

  • Property svn:executable set to *
File size: 253 bytes
Line 
1#!/usr/bin/python
2"""
3Returns an error when someone enters an invalid vm name.
4"""
5import sys
6
7def main(args):
8    print 'Error: no such machine: ' +  args[0]
9    return 0
10
11if __name__ == '__main__':
12    sys.exit(main(sys.argv[1:]))
13
14# vim:et:sw=4:ts=4
Note: See TracBrowser for help on using the repository browser.