LOL (anarchist.nexus)
 
LOL
you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago* (last edited 1 year ago) (1 child)

Yes, in this command one liner, the system should not power off when the update took too long.

Or is yes somehow supposed to take care of this?

No, yes is simply answering all questions asked during the update procedure (start upgrade, replace config files, restart services) with "yes".

  • source
  • parent
  • hideshow 1 child comment
  • There's no timeout for sudo. When permitted, a process runs as root and then closes.

    Also, the system will still shutdown when update fails because pipes do not care if previous commands exit with a nonzero code, unless pipefail is set.

    Edit: i'm blind.

  • source
  • parent