This repository was archived by the owner on Feb 3, 2022. It is now read-only.
This repository was archived by the owner on Feb 3, 2022. It is now read-only.
activate-hs does not handle all errors #178
Open
Description
Several file-system modifying commands in this script are not checked for errors. See for example the symlink functions. It looks to me like, if these fail, the script will simply continue (possibly with the failing command itself printing an error message to stderr).
This may be an intentional 'best-effort' strategy, but I would expect the script to detect and report the errors, or possibly be run with set -e
to automatically abort, or even better, have some recovery strategy to not leave the install in a broken state.