summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2003-07-14 19:14:26 +0000
committerEric Andersen2003-07-14 19:14:26 +0000
commit9edcabdc340e858227017b023a724c7e7e9f67d8 (patch)
tree3e8522e0668b33b9e94d6a07069127dd161d788c
parent96916b7f413acd8e41c5f88d0b6e84cda30fe22d (diff)
downloadbusybox-9edcabdc340e858227017b023a724c7e7e9f67d8.zip
busybox-9edcabdc340e858227017b023a724c7e7e9f67d8.tar.gz
Patch from Lars Kellogg-Stedman:
Busybox vi is installed in /bin/vi, but crontab was looking for /usr/bin/vi. This patch makes crontab look for /bin/vi instead.
-rw-r--r--miscutils/crontab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/crontab.c b/miscutils/crontab.c
index c6c33ac..6b94464 100644
--- a/miscutils/crontab.c
+++ b/miscutils/crontab.c
@@ -37,7 +37,7 @@
#define CRONUPDATE "cron.update"
#endif
#ifndef PATH_VI
-#define PATH_VI "/usr/bin/vi" /* location of vi */
+#define PATH_VI "/bin/vi" /* location of vi */
#endif
#include "busybox.h"