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

Incorrect messaging if crashing out of script at 0 deferrals #3

Open
grahampugh opened this issue May 21, 2021 · 0 comments
Open

Incorrect messaging if crashing out of script at 0 deferrals #3

grahampugh opened this issue May 21, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@grahampugh
Copy link
Owner

grahampugh commented May 21, 2021

When you get to the no deferrals left pane and then crash out the script it then goes back to X deferrals left message, but without any number displayed.

(lines 154-156)

    if [[ "$notificationCount" -ge "$maxNotificationCount" ]]; then
        writelog "$loggedInUser has been notified $notificationCount times; not waiting any longer."
        alert_user "$notificationsLeft remaining alerts before auto-install." "$notificationCount"

(reported in Slack by Peter Lewis)

@grahampugh grahampugh added the bug Something isn't working label May 21, 2021
@grahampugh grahampugh self-assigned this May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant