17 lines
520 B
Diff
17 lines
520 B
Diff
diff -u -r ../busybox-1.22.1/miscutils/crontab.c ./miscutils/crontab.c
|
|
--- ../busybox-1.22.1/miscutils/crontab.c 2014-01-09 19:15:44.000000000 +0100
|
|
+++ ./miscutils/crontab.c 2014-07-01 09:47:30.000000000 +0200
|
|
@@ -40,10 +40,12 @@
|
|
|
|
/* CHILD - change user and run editor */
|
|
/* initgroups, setgid, setuid */
|
|
+#ifndef __ANDROID__
|
|
change_identity(pas);
|
|
setup_environment(pas->pw_shell,
|
|
SETUP_ENV_CHANGEENV | SETUP_ENV_TO_TMP,
|
|
pas);
|
|
+#endif
|
|
ptr = getenv("VISUAL");
|
|
if (!ptr) {
|
|
ptr = getenv("EDITOR");
|