Skip to content
Snippets Groups Projects
Commit 67e53ea3 authored by Ben Hutchings's avatar Ben Hutchings
Browse files

init: Set and export PATH before running any external commands


busybox sh and klibc dash have different default values for $PATH
which could affect which could affect which commands we run later.

klibc dash also does not export $PATH, and this means we fail to
run fsck - it is executed indirectly through logsave, and logsave
cannot find it.

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 6ae39ebe
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment