mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-16 21:29:59 +01:00
Add dialog with default 'no' answer.
This commit is contained in:
@@ -169,6 +169,11 @@ int yesDialog(const char *msg, void *usrptr)
|
||||
return _dialog(msg, usrptr, 1);
|
||||
}
|
||||
|
||||
int noDialog(const char *msg, void *usrptr)
|
||||
{
|
||||
return _dialog(msg, usrptr, 0);
|
||||
}
|
||||
|
||||
void show_status(int errcode)
|
||||
{
|
||||
char *crypt_error;
|
||||
|
||||
Reference in New Issue
Block a user