summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorFranck Bui <fbui@suse.com>2016-11-02 13:51:02 +0100
committerFranck Bui <fbui@suse.com>2016-11-17 18:16:49 +0100
commit3b20f877ade5599dab124474055d2e56c3dcdb15 (patch)
tree4b6f001ff5d9c783932c49ae00dbbd9ff992e4e5 /NEWS
parent7d5ceb641659b29204598fde9110913765c2aa9e (diff)
core: rework ask_for_confirmation()
Now the reponses are handled by ask_for_confirmation() as well as the report of any errors occuring during the process of retrieving the confirmation response. One benefit of this is that there's no need to open/close the console one more time when reporting error/status messages. The caller now just needs to care about the return values whose meanings are: - don't execute and pretend that the command failed - don't execute and pretend that the command succeeed - positive answer, execute the command Also some slight code reorganization and introduce write_confirm_error() and write_confirm_error_fd(). write_confim_message becomes unneeded.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions