aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));