asdf/lib
Jochen Schalanda 609e41e276 Use different exit code if updates are disabled
If asdf-vm was installed with a package manager and the user doesn't
have the necessary permissions to update it with `asdf update`, asdf-vm
emits an informational message and exits with exit code 1.

This makes it hard to programmatically detect whether the update failed
or wasn't even attempted because it's not possible.

With this change, asdf-vm would exit with the exit code 42 if updates are
disabled instead of exit code 1, which signals an error during update.

Refs r-darwish/topgrade#367
2020-03-13 10:14:28 +01:00
..
commands Use different exit code if updates are disabled 2020-03-13 10:14:28 +01:00
asdf.fish Subcommand-aware command line interface. 2019-11-27 12:17:17 -06:00
asdf.sh Allow eval only on asdf function at lib/asdf.sh. 2019-12-03 11:04:04 -06:00
utils.bash Default to empty version to avoid error on strict mode bash 2020-03-07 09:26:16 -03:00