b6262f0666
g_data_input_stream_read_line_utf8() may return NULL, for example when interrupting the prompt with ^D. Handle that case and keep prompting until we got a line. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/812