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

Ttyler 2022 08 shellcheck #28

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Conversation

cttyler
Copy link
Contributor

@cttyler cttyler commented Aug 24, 2022

ShellCheck compliance issues fixed.
Some usage bugs fixed.
Preliminary efforts to standardize usage across shell scripts.
chmod +x as needed.

@@ -215,8 +221,7 @@ monitor_license () {
no_license=$(grep -c "Server license: none" "$tmp_info_data")
# Update every 60 mins
[[ ! -f "$tmp_license_data" || $(find "$tmp_license_data" -mmin +60) ]] || return
$p4 license -u 2>&1 > "$tmp_license_data"
[[ $? -ne 0 ]] && return
$p4 license -u "$tmp_license_data" 2>&1 || return
Copy link
Contributor

Choose a reason for hiding this comment

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

Needs to save output to file!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed pushed to address this - looks like a redirect operator was lost.

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.

2 participants