summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-06-12 07:35:40 +0000
committerjkh <jkh@FreeBSD.org>1997-06-12 07:35:40 +0000
commitf6bcf2cd2305de2b89f217f381b4a04bf8a849a1 (patch)
tree350953afcdacf7af4c9780bf33ad2779ef4408cf /usr.sbin/sade
parent6d8819c7ed7f092e6242b0aa479c423874af6396 (diff)
downloadFreeBSD-src-f6bcf2cd2305de2b89f217f381b4a04bf8a849a1.zip
FreeBSD-src-f6bcf2cd2305de2b89f217f381b4a04bf8a849a1.tar.gz
YAMF22
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/dispatch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sade/dispatch.c b/usr.sbin/sade/dispatch.c
index 4776dad..a23b89b 100644
--- a/usr.sbin/sade/dispatch.c
+++ b/usr.sbin/sade/dispatch.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: dispatch.c,v 1.13 1997/05/22 00:17:06 jkh Exp $
+ * $Id: dispatch.c,v 1.14 1997/06/05 09:47:56 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -144,6 +144,8 @@ dispatchCommand(char *str)
/* If it's got a `=' sign in there, assume it's a variable setting */
if (index(str, '=')) {
+ if (isDebug())
+ msgDebug("dispatch: setting variable `%s'\n", str);
variable_set(str);
i = DITEM_SUCCESS;
}
@@ -151,6 +153,8 @@ dispatchCommand(char *str)
/* A command might be a pathname if it's encoded in argv[0], which we also support */
if ((cp = rindex(str, '/')) != NULL)
str = cp + 1;
+ if (isDebug())
+ msgDebug("dispatch: calling resword `%s'\n", str);
if (!call_possible_resword(str, NULL, &i)) {
msgNotify("Warning: No such command ``%s''", str);
i = DITEM_FAILURE;
OpenPOWER on IntegriCloud