bootchartd: better wording in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
e7f1e5ca1d
commit
b8ba6b66f5
@ -306,11 +306,12 @@ int bootchartd_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
/* Inform parent that we are ready */
|
/* Inform parent that we are ready */
|
||||||
raise(SIGSTOP);
|
raise(SIGSTOP);
|
||||||
|
|
||||||
/* If we started by kernel, PATH might be not set.
|
/* If we are started by kernel, PATH might be unset.
|
||||||
* And in order to run tar we may need PATH to be set:
|
* In order to find "tar", let's set some sane PATH:
|
||||||
*/
|
*/
|
||||||
if (cmd == CMD_PID1 && !getenv("PATH"))
|
if (cmd == CMD_PID1 && !getenv("PATH"))
|
||||||
putenv((char*)bb_PATH_root_path);
|
putenv((char*)bb_PATH_root_path);
|
||||||
|
|
||||||
tempdir = make_tempdir(cmd == CMD_START ? argv[2] : NULL);
|
tempdir = make_tempdir(cmd == CMD_START ? argv[2] : NULL);
|
||||||
do_logging();
|
do_logging();
|
||||||
finalize(tempdir);
|
finalize(tempdir);
|
||||||
|
Loading…
Reference in New Issue
Block a user