diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-11-05 15:13:43 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-11-05 15:13:43 -0600 |
commit | 216ad987323d8984de2dd9cccdf200a8f801d740 (patch) | |
tree | c981ce6f5abbc29ee679f1c77edd6f3b0ce87cd0 /alpine/confscroll.c | |
parent | a0159a2dc04389a62d81f39d91f76cfab6b7293c (diff) | |
download | alpine-216ad987323d8984de2dd9cccdf200a8f801d740.tar.xz |
* Crash when invoking Alpine from the command line and an attempt to authorize
alpine to use XOAUTH2 is done. Alpine crashes because of a missing optional
parameter -xoauth2-flow and because no screen has been configured yet. Reported
by Baron Fujimoto.
Diffstat (limited to 'alpine/confscroll.c')
-rw-r--r-- | alpine/confscroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/confscroll.c b/alpine/confscroll.c index ef0a2dd9..8bfb533d 100644 --- a/alpine/confscroll.c +++ b/alpine/confscroll.c @@ -6010,7 +6010,7 @@ delete_user_vals(struct variable *v) int unexpected_pinerc_change(void) { - Writechar(BELL, 0); + if(ps_global->ttyo) Writechar(BELL, 0); if(want_to("Unexpected pinerc change! Overwrite with current config", 'n', 0, NO_HELP, WT_FLUSH_IN) == 'n'){ return(-1); /* abort pinerc write */ |