diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-17 21:13:33 +0000 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-17 21:13:33 +0000 |
commit | 2045e6f3b89386d9104a53f0219290e7ba2423e5 (patch) | |
tree | 8c135b37173cb15aa46b8b8218b7265987be61e2 | |
parent | c9cb04e59113a3afb1cc9fde17dc8bb27a0a315c (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
@@ -52,7 +52,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 |