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

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

Bug #349789:script to print error of not vm name

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