summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-05-16 13:41:57 +0200
committerGitHub <noreply@github.com>2017-05-16 13:41:57 +0200
commitc5761c2b5bcb36d4c952a9e2fa3717f0d70fc011 (patch)
tree0029eae21f45999bac015c79a84f357eb06f51ff /lib/command.c
parent7a38655aa0d8216a5bf352f94b65d035da210150 (diff)
parent291ca371e2974a55799174e2a5447928cab57802 (diff)
Merge pull request #539 from donaldsharp/arm
Arm
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);
}