diff options
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1081,7 +1081,9 @@ void Parser_main (char *raw_in, int interactive_terminal, void(*cbfunc)(gpointer (*cbfunc)(user_data, error_response); } } else { - (*cbfunc)(user_data, response); + if (interactive_terminal) { + (*cbfunc)(user_data, response); + } } g_free (units); |