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

Sanoid no longer runs cron verbose if called without arguments #721

Closed
Hooloovoo opened this issue Feb 21, 2022 · 1 comment
Closed

Sanoid no longer runs cron verbose if called without arguments #721

Hooloovoo opened this issue Feb 21, 2022 · 1 comment

Comments

@Hooloovoo
Copy link

Hello,

It looks to me as though
#463
inadvertently stopped sanoid from running in --cron --verbose mode if called without arguments.

There is a section in the code:

# If only config directory (or nothing) has been specified, default to --cron --verbose
if (keys %args < 2) {
	$args{'cron'} = 1;
	$args{'verbose'} = 1;
}

Two additional elements were added into %args by the PR before this block, so now %args is always at least 3 by the time it reaches this code.

@phreaker0
Copy link
Collaborator

Fixed with #819

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

2 participants