From 1ae16666555f936e36181c3a487bc6e10b73fda8 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 13 Mar 2026 06:02:53 +0100 Subject: [PATCH] bin/nb-update --- bin/nb-update | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.3