git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve launch error message.
[libguestfs.git]
/
src
/
generator.ml
diff --git
a/src/generator.ml
b/src/generator.ml
index
e3293d1
..
d3040d5
100755
(executable)
--- a/
src/generator.ml
+++ b/
src/generator.ml
@@
-3737,7
+3737,7
@@
check_state (guestfs_h *g, const char *caller)
{
if (!guestfs_is_ready (g)) {
if (guestfs_is_config (g))
{
if (!guestfs_is_ready (g)) {
if (guestfs_is_config (g))
- error (g, \"%%s: call launch
() before using this function
\",
+ error (g, \"%%s: call launch
before using this function\\n(in guestfish, don't forget to use the 'run' command)
\",
caller);
else if (guestfs_is_launching (g))
error (g, \"%%s: call wait_ready() before using this function\",
caller);
else if (guestfs_is_launching (g))
error (g, \"%%s: call wait_ready() before using this function\",