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
Deleted extra print statement
[invirt/packages/invirt-remote.git]
/
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
(executable)
--- 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
"""
import sys
-
-
-
def main(args):
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:]))
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))