From: Nicolas Boisselier Date: Fri, 13 Mar 2026 05:02:53 +0000 (+0100) Subject: bin/nb-update X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=1ae16666555f936e36181c3a487bc6e10b73fda8;p=nb.git bin/nb-update --- diff --git a/bin/nb-update b/bin/nb-update index 06549ed4..a9ce0e3a 100755 --- a/bin/nb-update +++ b/bin/nb-update @@ -75,6 +75,9 @@ if [ "$UID" != "0" ] ; then exit 1 fi +# Shutdown in progress +[ -f /run/systemd/shutdown/scheduled ] && exit 0 + . $(dirname "$0")/../etc/profile || exit 1; [ -z "$NB_ROOT" ] && exit if ! which git > /dev/null; then