Routine system update failed (Ubuntu 22.04.4 LTS)
Ralf Mardorf
kde.lists at yahoo.com
Sat Sep 21 14:07:50 UTC 2024
On Sat, 2024-09-21 at 15:56 +0200, Bo Berglund wrote:
> What do all these && accomplish?
> AFAICT && will continue to do the next step unless an error is
> flagged, right?
Hi,
yes, that's correct.
> But does it also exit the running script so following lines are not
> executed?
No, it doesn't exit the script.
If you want that it does exit the script you need to use:
set -e
Regards,
Ralf
More information about the ubuntu-users
mailing list