aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-14 13:46:21 +0000
committerRoy Marples <roy@marples.name>2007-11-14 13:46:21 +0000
commitf8ad30fc6e35c171bf62e880aa2e4249e64d1d9f (patch)
tree847049299308f75476a0a5d5b1e7d4eb81aa176a
parente31b9ab08892058eea5461eec13b87e1489ac405 (diff)
Really remove env-update
-rw-r--r--src/builtins.h1
-rw-r--r--src/rc.c4
2 files changed, 1 insertions, 4 deletions
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));