Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vr return 0 when no scripts are available #118

Open
ayakovlenko opened this issue Aug 25, 2022 · 0 comments
Open

vr return 0 when no scripts are available #118

ayakovlenko opened this issue Aug 25, 2022 · 0 comments

Comments

@ayakovlenko
Copy link

ayakovlenko commented Aug 25, 2022

vr return 0 when no scripts are available:

$ vr run blah
warn: No scripts available.
See https://velociraptor.run for guidance on how to create scripts.

echo $?
0

Must return a non-zero exit code.

Happens both when either of scripts.(yaml|json|ts) is missing or when a command itself is missing:

$ vr run blah
error: Script blah not found
Run vr without arguments to see a list of available scripts.

$ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant