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

Require target to be running for specific commands #251

Merged
merged 2 commits into from
Sep 22, 2020

Conversation

chriswells0
Copy link
Collaborator

@chriswells0 chriswells0 commented Aug 30, 2020

This reduces the number of places where the target is being parsed and validated. Then requires the target to be running for the following commands: cmd, console, htop, pkg, service, sysrc, template, top. Closes #239.

Note: I used the functions created in #250, so this looks like more changes than it is.

@chriswells0 chriswells0 force-pushed the require-running-jail branch from 62b7e3f to c6aded8 Compare August 31, 2020 00:17
@cedwards cedwards merged commit 935118f into BastilleBSD:master Sep 22, 2020
@chriswells0 chriswells0 deleted the require-running-jail branch September 27, 2020 17:27
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

Successfully merging this pull request may close these issues.

[ENHANCEMENT] Print error/return 1 when jail is not running
2 participants