From f8ad30fc6e35c171bf62e880aa2e4249e64d1d9f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 14 Nov 2007 13:46:21 +0000 Subject: Really remove env-update --- src/builtins.h | 1 - src/rc.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/builtins.h b/src/builtins.h index 9c420e29..8cd323aa 100644 --- a/src/builtins.h +++ b/src/builtins.h @@ -10,7 +10,6 @@ #include "rc.h" int checkown (int argc, char **argv); -int env_update (int argc, char **argv); int fstabinfo (int argc, char **argv); int mountinfo (int argc, char **argv); int rc_depend (int argc, char **argv); diff --git a/src/rc.c b/src/rc.c index 21b87880..0dc8f09f 100644 --- a/src/rc.c +++ b/src/rc.c @@ -774,9 +774,7 @@ int main (int argc, char **argv) /* These used to be programs in their own right, so we shouldn't * touch argc or argv for them */ - if (strcmp (applet, "env-update") == 0) - exit (env_update (argc, argv)); - else if (strcmp (applet, "fstabinfo") == 0) + if (strcmp (applet, "fstabinfo") == 0) exit (fstabinfo (argc, argv)); else if (strcmp (applet, "mountinfo") == 0) exit (mountinfo (argc, argv)); -- cgit v1.2.3