diff --git a/src/parallels/parallels_utils.c b/src/parallels/parallels_utils.c index dd2f0b77ad..171f5d03d0 100644 --- a/src/parallels/parallels_utils.c +++ b/src/parallels/parallels_utils.c @@ -42,7 +42,7 @@ parallelsDoCmdRun(char **outbuf, const char *binary, va_list list) if (outbuf) virCommandSetOutputBuffer(cmd, outbuf); - if (virCommandRun(cmd, NULL)) + if (virCommandRun(cmd, NULL) < 0) goto cleanup; ret = 0;