diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 11:33:59 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 11:33:59 -0500 |
commit | 09a71c051060d3b934a19ae4d9c962f7ceb44c69 (patch) | |
tree | 12b46d0b4caf7a21d9a37dc8d0de6442c929fe33 /mountvirtfs.sh | |
parent | f063af2cf37ddb9e542e8b085f350f79802e87e8 (diff) | |
parent | e2547734fd91c35bf3eaac1d9486b0f3c2877192 (diff) |
Merge branch 'cleanup' into chapter7
Diffstat (limited to 'mountvirtfs.sh')
-rw-r--r-- | mountvirtfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mountvirtfs.sh b/mountvirtfs.sh index 2849dad..4c016e5 100644 --- a/mountvirtfs.sh +++ b/mountvirtfs.sh @@ -27,6 +27,6 @@ else printf "%b" " ${IYLW}${LFS}/run${IGRN} is already mounted${RST}\n" fi -if [ -h "${LFS}"/dev/shm ]; then +if [[ -h "${LFS}"/dev/shm ]]; then sudo mkdir -pv "${LFS}"/"$(readlink "${LFS}"/dev/shm)" fi |