Cannot break out of createuser

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Cannot break out of createuser
Дата
Msg-id 1044639846.6891.97.camel@linda.lfix.co.uk
обсуждение исходный текст
Список pgsql-hackers
It is not possible to break out of createuser with ctrl-c, ctrl-\ or
kill -TERM.

The reason is that this line:       # Don't want to leave the user blind if he breaks       # during password entry.
                                                         trap 'stty echo >/dev/null 2>&1' 1 2 3 15
 


should be:       trap 'stty echo >/dev/null 2>&1; exit 1' 1 2 3 15
or even       trap 'stty echo >/dev/null 2>&1' EXIT       
-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
========================================   "But the LORD is in his holy temple; let all the earth      keep silence
beforehim."           Habakkuk 2:20 
 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: Alpha version of contrib/tsearch is available for testing
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: Re: [OpenFTS-general] Alpha version of contrib/tsearch is available for testing