Skip to content

Commit 418cbe2

Browse files
anthonyxuAlena Prokharchyk
authored andcommitted
VPC : fixed get_domr_version
1 parent 3821558 commit 418cbe2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/vm/hypervisor/xenserver/vmops

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ def routerProxy(session, args):
302302
cmd.insert(0, "/bin/bash")
303303
try:
304304
txt = util.pread2(cmd)
305-
txt = 'success'
305+
if txt is None or len(txt) == 0 :
306+
txt = 'success'
306307
except:
307308
util.SMlog("routerProxy command " + sargs + " failed " )
308309
txt = ''

wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# if you change 'em here, you need to change it also in cloud.spec, add a %changelog entry there, and add an entry in debian/changelog
66

77

8-
VERSION = '3.0.3.2012-06-13T23:38:49Z'
8+
VERSION = '3.0.3.2012-06-14T02:14:58Z'
99
APPNAME = 'cloud'
1010

1111
import shutil,os

0 commit comments

Comments
 (0)