Minor fixes in messages

This commit is contained in:
Marek Marczykowski-Górecki 2014-10-28 05:28:13 +01:00
parent be43682df1
commit 28dfdddc0e
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ fi
# becuase otherwise yum might complain about future timestamps # becuase otherwise yum might complain about future timestamps
qvm-sync-clock qvm-sync-clock
echo "Using $UPDATEVM as updatevm to download updates for Dom0, this may take some of time..." >&2 echo "Using $UPDATEVM as UpdateVM to download updates for Dom0; this may take some time..." >&2
# Start VM if not running already # Start VM if not running already
qvm-run $QVMRUN_OPTS -a $UPDATEVM true || exit 1 qvm-run $QVMRUN_OPTS -a $UPDATEVM true || exit 1

View File

@ -168,7 +168,7 @@ def main():
if not validate_target(target): if not validate_target(target):
print >> sys.stderr, "Rpc failed (unknown domain):", domain, target, exec_index print >> sys.stderr, "Rpc failed (unknown domain):", domain, target, exec_index
text = "Domain '%s' doesn't exists (service %s called by domain %s)." % ( text = "Domain '%s' doesn't exist (service %s called by domain %s)." % (
target, exec_index, domain) target, exec_index, domain)
subprocess.call(["/usr/bin/zenity", "--error", "--text", text]) subprocess.call(["/usr/bin/zenity", "--error", "--text", text])
os.execl(QREXEC_CLIENT, "qrexec-client", "-d", domain, "-l", "/bin/false", "-c", process_ident) os.execl(QREXEC_CLIENT, "qrexec-client", "-d", domain, "-l", "/bin/false", "-c", process_ident)