diff options
| author | Julian Andres Klode <jak@debian.org> | 2025-05-19 17:11:15 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2025-05-19 17:11:15 +0000 |
| commit | 6025ea158c7635d7f990e63dbf7c9e309fc188ff (patch) | |
| tree | 7fcab49925442011d731acbbfd90934ed5712f09 /apt-private | |
| parent | 5901fb11d8df5f8b8578ea3032d0e5a953c8a429 (diff) | |
| parent | 1eb729ef1c795f6b5944dd217994f8d8279672bc (diff) | |
Merge branch 'cherry' into 'main'
Various cherry-picks
See merge request apt-team/apt!480
Diffstat (limited to 'apt-private')
| -rw-r--r-- | apt-private/private-cmndline.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc index 67a34a2c7..e16aa7280 100644 --- a/apt-private/private-cmndline.cc +++ b/apt-private/private-cmndline.cc @@ -622,7 +622,7 @@ unsigned short DispatchCommandLine(CommandLine &CmdL, std::vector<CommandLine::D _error->DumpErrors(); else _error->DumpErrors(GlobalError::NOTICE); - if (returned == false) + if (returned == false || std::cout.bad() || std::cerr.bad() || std::clog.bad()) return 100; return Errors == true ? 100 : 0; } |
