mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
remove trailing blanks
This commit is contained in:
parent
f7896554e9
commit
a626719f0c
@ -245,7 +245,7 @@ static int openvzDomainShutdown(virDomainPtr dom) {
|
||||
|
||||
ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(dom->conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(dom->conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZCTL);
|
||||
return -1;
|
||||
}
|
||||
@ -290,7 +290,7 @@ static int openvzDomainReboot(virDomainPtr dom,
|
||||
}
|
||||
ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(dom->conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(dom->conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZCTL);
|
||||
return -1;
|
||||
}
|
||||
@ -350,7 +350,7 @@ openvzDomainDefineXML(virConnectPtr conn, const char *xml)
|
||||
}
|
||||
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZCTL);
|
||||
goto bail_out2;
|
||||
}
|
||||
@ -419,7 +419,7 @@ openvzDomainCreateLinux(virConnectPtr conn, const char *xml,
|
||||
}
|
||||
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZCTL);
|
||||
return NULL;
|
||||
}
|
||||
@ -436,7 +436,7 @@ openvzDomainCreateLinux(virConnectPtr conn, const char *xml,
|
||||
}
|
||||
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZCTL);
|
||||
return NULL;
|
||||
}
|
||||
@ -491,7 +491,7 @@ openvzDomainCreate(virDomainPtr dom)
|
||||
}
|
||||
ret = virExec(dom->conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(dom->conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(dom->conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZCTL);
|
||||
return -1;
|
||||
}
|
||||
@ -535,7 +535,7 @@ openvzDomainUndefine(virDomainPtr dom)
|
||||
}
|
||||
ret = virExec(conn, (char **)cmdExec, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZCTL);
|
||||
return -1;
|
||||
}
|
||||
@ -628,7 +628,7 @@ static int openvzListDomains(virConnectPtr conn, int *ids, int nids) {
|
||||
|
||||
ret = virExec(conn, (char **)cmd, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZLIST);
|
||||
return -1;
|
||||
}
|
||||
@ -660,7 +660,7 @@ static int openvzListDefinedDomains(virConnectPtr conn,
|
||||
/* the -S options lists only stopped domains */
|
||||
ret = virExec(conn, (char **)cmd, &pid, -1, &outfd, &errfd);
|
||||
if(ret == -1) {
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
error(conn, VIR_ERR_INTERNAL_ERROR,
|
||||
_("Could not exec %s"), VZLIST);
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user