From 3d145616d27f1331e3eb93a7ae1ba54859ddb53c Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 5 May 2024 11:21:30 +0300 Subject: [PATCH] deb-update.bash: sleep a bit after needrestart --- bash/deb-update.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash/deb-update.bash b/bash/deb-update.bash index bd71203..8af8048 100755 --- a/bash/deb-update.bash +++ b/bash/deb-update.bash @@ -111,6 +111,9 @@ if hash needrestart 2>/dev/null; then # needrestart batch mode, should be visible on bottom of scrollback # see https://github.com/liske/needrestart/blob/master/README.batch.md needrestart -b + # Give me a moment to see what needrestart says even if I pipe or enter + # multiple commands at once! + sleep 5 fi # Sedric workaround, located in this repo. I trust /root/