ncp-update-nc: Fix resetting job after failed update attempt

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias K 2024-11-06 12:27:21 +01:00 committed by Tobias Knöppler
parent 3cb98599de
commit 1579f7b2ea
No known key found for this signature in database
GPG Key ID: 44FD368932E645C1

View File

@ -52,7 +52,7 @@ then
exit $?
fi
systemctl reset-failed ncp-encrypt 2>/dev/null ||:
systemctl reset-failed ncp-update-nc 2>/dev/null ||:
systemd-run -u 'ncp-update-nc' bash -c "set -o pipefail; DBG='${DBG:-}' /usr/local/bin/ncp-update-nc.d/update-nc.sh '${VER}' |& tee /var/log/ncp-update-nc.log"
sleep 1