Really remove env-update
This commit is contained in:
parent
e31b9ab088
commit
f8ad30fc6e
@ -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);
|
||||
|
4
src/rc.c
4
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));
|
||||
|
Loading…
Reference in New Issue
Block a user