Omni rizzler@anarchist.nexus to linuxmemes@lemmy.worldEnglish · 4 days agoLOLanarchist.nexusexternal-linkmessage-square103fedilinkarrow-up1534arrow-down134
arrow-up1500arrow-down1external-linkLOLanarchist.nexusOmni rizzler@anarchist.nexus to linuxmemes@lemmy.worldEnglish · 4 days agomessage-square103fedilink
minus-squareSuccessful_Try543@feddit.orglinkfedilinkarrow-up5·edit-24 days agoYes, 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”.
minus-squaresomerandomperson@lemmy.dbzer0.comlinkfedilinkarrow-up3·edit-24 days agoThere’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.
Yes, in this
commandone liner, the system should not power off when the update took too long.No,
yes
is simply answering all questions asked during the update procedure (start upgrade, replace config files, restart services) with “yes”.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, unlesspipefail
is set.Edit: i’m blind.