summaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/dispatch.c
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1997-09-17 16:18:22 +0000
committerPaul Traina <pst@FreeBSD.org>1997-09-17 16:18:22 +0000
commit69ac164732d177d115a74a2c75d75dbe5ec01e0e (patch)
treee8509fc503832efb8ee95be6eb582db1888f812c /usr.sbin/sysinstall/dispatch.c
parent4a50ae9ab3f6ff300f8ef520be0e8a352be39892 (diff)
Notes
Diffstat (limited to 'usr.sbin/sysinstall/dispatch.c')
-rw-r--r--usr.sbin/sysinstall/dispatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dispatch.c b/usr.sbin/sysinstall/dispatch.c
index 181ccd52b782..67e09d6a15c2 100644
--- a/usr.sbin/sysinstall/dispatch.c
+++ b/usr.sbin/sysinstall/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.22 1997/09/08 11:09:08 jkh Exp $
+ * $Id: dispatch.c,v 1.23 1997/09/16 18:57:08 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -173,7 +173,7 @@ dispatch_shutdown(dialogMenuItem *unused)
static int
dispatch_systemExecute(dialogMenuItem *unused)
{
- char *cmd = variable_get("command");
+ char *cmd = variable_get(VAR_COMMAND);
if (cmd)
return systemExecute(cmd) ? DITEM_FAILURE : DITEM_SUCCESS;