diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-17 21:13:33 +0000 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-17 22:02:45 +0000 |
commit | 4efebb4d1deca52845f94f9cf8ff45f2e5fd8191 (patch) | |
tree | 74606af6259107d5cee040fb5020c798f7174647 | |
parent | 13f2c64995621d3180b468c4d525eff1eb8c9993 (diff) |
/mnt should be owned by root. Use sudo to create LFS target directory.
-rwxr-xr-x | lfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ printf "%b" "${GRN}Creating LFS directory at ${YLW}${LFS}${GRN}${RST}... " if [[ -d "${LFS}" ]]; then success "EXISTS" else - if ! mkdir "${LFS}" >/dev/null 2>&1; then + if ! sudo mkdir "${LFS}" >/dev/null 2>&1; then fail "FAILED!" exit 1 fi |