You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
520 B
17 lines
520 B
10 years ago
|
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");
|