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 cc597952e4..8ef9fae832 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -324,6 +324,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);
}
@@ -371,6 +372,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);
}