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

Fixes #9458 - process only executable debug extensions #2178

Closed
wants to merge 1 commit into from

Conversation

lzap
Copy link
Member

@lzap lzap commented Feb 19, 2015

No description provided.

for extension in "/usr/share/foreman/script/foreman-debug.d/*.sh"; do
printv "Processing extension $extension"
source $extension 2>/dev/null
for extension in "/usr/share/foreman/script/foreman-debug.d/*"; do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This glob has to be unquoted, otherwise it doesn't expand.

@lzap
Copy link
Member Author

lzap commented Feb 20, 2015

Oh so effectively this was never working.... huh. Good catch. Upped.

@domcleal
Copy link
Contributor

Indeed! Merged as eb0387b, thanks @lzap!

@domcleal domcleal closed this Feb 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants