git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create /sys directory if it doesn't exist already.
[libguestfs.git]
/
src
/
launch.c
diff --git
a/src/launch.c
b/src/launch.c
index
ca48bdd
..
310a88d
100644
(file)
--- a/
src/launch.c
+++ b/
src/launch.c
@@
-1083,7
+1083,7
@@
test_qemu_cmd (guestfs_h *g, const char *cmd, char **ret)
return -1;
}
return -1;
}
- if (pclose (fp)
== -1
)
+ if (pclose (fp)
!= 0
)
return -1;
return 0;
return -1;
return 0;