summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/command.c b/lib/command.c
index c64d38f22d..452a559998 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -323,6 +323,7 @@ install_element (enum node_type ntype, struct cmd_element *cmd)
{
fprintf (stderr, "Command node %d doesn't exist, please check it\n",
ntype);
+ fprintf (stderr, "Have you called install_node before this install_element?\n");
exit (EXIT_FAILURE);
}
@@ -370,6 +371,7 @@ uninstall_element (enum node_type ntype, struct cmd_element *cmd)
{
fprintf (stderr, "Command node %d doesn't exist, please check it\n",
ntype);
+ fprintf (stderr, "Have you called install_node before this install_element?\n");
exit (EXIT_FAILURE);
}