Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Incorrect error when directory does not exist #60

Description

@ThePrez

When running chroot_setup when a directory in the tree does not exist, it gives the following error:

ERROR: [CHROOT DIRECTORY] Must begin with /QOpenSys/...

It really should give a better error (or maybe just work). I suspect we really just need the appropriate logic here, to handle the file not missing (readlink is just failing in the current implementation, so the variable is empty)

TEMP_DIR=$(/QOpenSys/pkgs/bin/readlink -f $1) #this is done because the arg may be a relative path name. Needs to be done, therefore, before any 'cd'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions