Merge lp:~jontai/openvista-gtm-integration/bug386111 into lp:openvista-gtm-integration

Proposed by Jon Tai
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jontai/openvista-gtm-integration/bug386111
Merge into: lp:openvista-gtm-integration
Diff against target: None lines
To merge this branch: bzr merge lp:~jontai/openvista-gtm-integration/bug386111
Reviewer Review Type Date Requested Status
jeff.apple Approve
Review via email: mp+7359@code.launchpad.net
To post a comment you must log in.
Revision history for this message
jeff.apple (jeff-apple) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/usr/bin/openvista'
2--- scripts/usr/bin/openvista 2009-06-05 19:50:29 +0000
3+++ scripts/usr/bin/openvista 2009-06-11 21:32:17 +0000
4@@ -57,7 +57,7 @@
5
6 # check command syntax
7 if [ -z "$1" ]; then
8- echo "openvista: missing operand" >&2
9+ echo "openvista: missing OpenVista instance name" >&2
10 echo "Try 'openvista -h' for more information" >&2
11 exit 2
12 fi
13
14=== modified file 'scripts/usr/bin/ovbackup'
15--- scripts/usr/bin/ovbackup 2009-06-05 19:50:29 +0000
16+++ scripts/usr/bin/ovbackup 2009-06-11 21:32:17 +0000
17@@ -62,7 +62,7 @@
18
19 # check command syntax
20 if [ -z "$1" ]; then
21- echo "ovbackup: missing operand" >&2
22+ echo "ovbackup: missing OpenVista instance name" >&2
23 echo "Try 'ovbackup -h' for more information" >&2
24 exit 2
25 fi
26
27=== modified file 'scripts/usr/bin/ovcc'
28--- scripts/usr/bin/ovcc 2009-06-05 19:50:29 +0000
29+++ scripts/usr/bin/ovcc 2009-06-11 21:32:17 +0000
30@@ -57,7 +57,7 @@
31
32 # check command syntax
33 if [ -z "$1" ]; then
34- echo "ovcc: missing operand" >&2
35+ echo "ovcc: missing OpenVista instance name" >&2
36 echo "Try 'ovcc -h' for more information" >&2
37 exit 2
38 fi
39
40=== modified file 'scripts/usr/bin/ovimport'
41--- scripts/usr/bin/ovimport 2009-06-05 19:50:29 +0000
42+++ scripts/usr/bin/ovimport 2009-06-11 21:32:17 +0000
43@@ -75,7 +75,7 @@
44
45 # check command syntax
46 if [ -z "$1" ]; then
47- echo "ovimport: missing operand" >&2
48+ echo "ovimport: missing OpenVista instance name" >&2
49 echo "Try 'ovimport -h' for more information" >&2
50 exit 2
51 fi
52
53=== modified file 'scripts/usr/bin/ovpurgejournals'
54--- scripts/usr/bin/ovpurgejournals 2009-06-05 19:50:29 +0000
55+++ scripts/usr/bin/ovpurgejournals 2009-06-11 21:32:17 +0000
56@@ -53,7 +53,7 @@
57
58 # check command syntax
59 if [ -z "$1" ]; then
60- echo "ovpurgejournals: missing operand" >&2
61+ echo "ovpurgejournals: missing OpenVista instance name" >&2
62 echo "Try 'ovpurgejournals -h' for more information" >&2
63 exit 2
64 fi
65
66=== modified file 'scripts/usr/bin/ovswitchjournals'
67--- scripts/usr/bin/ovswitchjournals 2009-06-05 19:50:29 +0000
68+++ scripts/usr/bin/ovswitchjournals 2009-06-11 21:32:17 +0000
69@@ -54,7 +54,7 @@
70
71 # check command syntax
72 if [ -z "$1" ]; then
73- echo "ovswitchjournals: missing operand" >&2
74+ echo "ovswitchjournals: missing OpenVista instance name" >&2
75 echo "Try 'ovswitchjournals -h' for more information" >&2
76 exit 2
77 fi
78
79=== modified file 'scripts/usr/bin/ovtied'
80--- scripts/usr/bin/ovtied 2009-06-05 19:50:29 +0000
81+++ scripts/usr/bin/ovtied 2009-06-11 21:32:17 +0000
82@@ -57,7 +57,7 @@
83
84 # check command syntax
85 if [ -z "$1" ]; then
86- echo "ovtied: missing operand" >&2
87+ echo "ovtied: missing OpenVista instance name" >&2
88 echo "Try 'ovtied -h' for more information" >&2
89 exit 2
90 fi
91
92=== modified file 'scripts/usr/sbin/ovinstanceadd'
93--- scripts/usr/sbin/ovinstanceadd 2009-06-05 19:50:29 +0000
94+++ scripts/usr/sbin/ovinstanceadd 2009-06-11 21:32:17 +0000
95@@ -59,7 +59,7 @@
96
97 # check command syntax
98 if [ -z "$1" ]; then
99- echo "ovinstanceadd: missing operand" >&2
100+ echo "ovinstanceadd: missing OpenVista instance name" >&2
101 echo "Try 'ovinstanceadd -h' for more information" >&2
102 exit 2
103 fi
104
105=== modified file 'scripts/usr/sbin/ovinstancedel'
106--- scripts/usr/sbin/ovinstancedel 2009-06-05 19:50:29 +0000
107+++ scripts/usr/sbin/ovinstancedel 2009-06-11 21:32:17 +0000
108@@ -62,7 +62,7 @@
109
110 # check command syntax
111 if [ -z "$1" ]; then
112- echo "ovinstancedel: missing operand" >&2
113+ echo "ovinstancedel: missing OpenVista instance name" >&2
114 echo "Try 'ovinstancedel -h' for more information" >&2
115 exit 2
116 fi
117
118=== modified file 'scripts/usr/sbin/ovrestore'
119--- scripts/usr/sbin/ovrestore 2009-06-05 19:50:29 +0000
120+++ scripts/usr/sbin/ovrestore 2009-06-11 21:32:17 +0000
121@@ -75,8 +75,14 @@
122 : ${force:=false}
123
124 # check command syntax
125-if [ -z "$1" ] || [ -z "$2" ]; then
126- echo "ovrestore: missing operand" >&2
127+if [ -z "$1" ]; then
128+ echo "ovrestore: missing backup file name" >&2
129+ echo "Try 'ovrestore -h' for more information" >&2
130+ exit 2
131+fi
132+
133+if [ -z "$2" ]; then
134+ echo "ovrestore: missing OpenVista instance name" >&2
135 echo "Try 'ovrestore -h' for more information" >&2
136 exit 2
137 fi

Subscribers

People subscribed via source and target branches